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