1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 04:42:38 +01:00
openrw/rwengine/CMakeLists.txt

27 lines
524 B
CMake
Raw Normal View History

FILE(GLOB_RECURSE RENDERWARE_SOURCES "src/*.cpp")
2013-09-09 01:18:36 +02:00
FILE(GLOB_RECURSE RENDERWARE_HEADERS "include/*.hpp")
2013-09-09 01:18:36 +02:00
source_group("Header Files" FILES ${RENDERWARE_HEADERS})
source_group("Source Files" FILES ${RENDERWARE_SOURCES})
2014-01-26 04:45:55 +01:00
add_library(rwengine
${RENDERWARE_SOURCES}
${RENDERWARE_HEADERS}
2013-07-02 08:06:03 +02:00
)
target_link_libraries(rwengine
rwlib
${MAD_LIBRARY}
${SFML_LIBRARIES}
${OPENRW_PLATFORM_LIBS})
2016-04-28 01:54:42 +02:00
include_directories(SYSTEM
${BULLET_INCLUDE_DIR}
${MAD_INCLUDE_DIR}
${SFML_INCLUDE_DIR}
2016-04-28 01:54:42 +02:00
)
include_directories(
include
)