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
|
|
|
|
sfml-window
|
|
|
|
sfml-audio
|
|
|
|
GLEW
|
|
|
|
mad
|
|
|
|
${OPENRW_PLATFORM_LIBS})
|
2013-07-02 00:33:21 +02:00
|
|
|
|
2014-08-15 23:49:58 +02:00
|
|
|
include_directories(include ${BULLET_INCLUDE_DIR})
|