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}
|
2016-05-24 19:49:19 +02:00
|
|
|
${LIBSNDFILE_LIBRARY}
|
|
|
|
${OPENAL_LIBRARY}
|
2016-06-22 12:29:39 +02:00
|
|
|
${OPENRW_PLATFORM_LIBS}
|
2016-06-22 23:28:05 +02:00
|
|
|
${SDL2_LIBRARY})
|
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}
|
2016-05-24 19:49:19 +02:00
|
|
|
${LIBSNDFILE_INCLUDE_DIR}
|
|
|
|
${OPENAL_INCLUDE_DIR}
|
2016-04-28 01:54:42 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
include
|
|
|
|
)
|