|
|
@ -9,12 +9,23 @@ set(OICS_SOURCE_FILES
|
|
|
|
ICSInputControlSystem_keyboard.cpp
|
|
|
|
ICSInputControlSystem_keyboard.cpp
|
|
|
|
ICSInputControlSystem_mouse.cpp
|
|
|
|
ICSInputControlSystem_mouse.cpp
|
|
|
|
ICSInputControlSystem_joystick.cpp
|
|
|
|
ICSInputControlSystem_joystick.cpp
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(TINYXML_SOURCE_FILES
|
|
|
|
tinyxml.cpp
|
|
|
|
tinyxml.cpp
|
|
|
|
tinyxmlparser.cpp
|
|
|
|
tinyxmlparser.cpp
|
|
|
|
tinyxmlerror.cpp
|
|
|
|
tinyxmlerror.cpp
|
|
|
|
tinystr.cpp
|
|
|
|
tinystr.cpp
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_library(${OICS_LIBRARY} STATIC ${OICS_SOURCE_FILES})
|
|
|
|
if(USE_SYSTEM_TINYXML)
|
|
|
|
|
|
|
|
add_library(${OICS_LIBRARY} STATIC ${OICS_SOURCE_FILES})
|
|
|
|
|
|
|
|
target_link_libraries(${OICS_LIBRARY} ${TINYXML_LIBRARIES})
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
|
|
|
add_library(${OICS_LIBRARY} STATIC
|
|
|
|
|
|
|
|
${OICS_SOURCE_FILES}
|
|
|
|
|
|
|
|
${TINYXML_SOURCE_FILES})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Does this do anything?
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|