1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/extern/oics/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
631 B
CMake
Raw Normal View History

2016-06-12 18:03:33 +00:00
add_library(oics STATIC
ICSChannel.cpp
ICSControl.cpp
ICSInputControlSystem.cpp
ICSInputControlSystem_keyboard.cpp
ICSInputControlSystem_mouse.cpp
ICSInputControlSystem_joystick.cpp
ICSPrerequisites.h
2012-08-12 18:45:02 +00:00
)
if(USE_SYSTEM_TINYXML)
2016-06-12 18:03:33 +00:00
target_link_libraries(oics ${TinyXML_LIBRARIES})
else()
2016-06-12 18:03:33 +00:00
add_library(local_tinyxml STATIC
tinyxml.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
tinystr.cpp
)
target_link_libraries(oics local_tinyxml)
endif()
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
target_precompile_headers(oics PUBLIC <algorithm> <string>)
endif()