]> git.cworth.org Git - vogl/blob - src/voglgen/CMakeLists.txt
Reworked src/voglen/CMakeLists.txt to not compile tinyxml;
[vogl] / src / voglgen / CMakeLists.txt
1 project(voglgen)
2 cmake_minimum_required(VERSION 2.8)
3
4 include("${SRC_DIR}/build_options.cmake")
5
6 set(SRC_LIST voglgen.cpp)
7
8 add_definitions(-DTIXML_USE_STL)
9
10 include_directories(
11     ${SRC_DIR}/voglcore
12     ${TinyXML_INCLUDE_DIRS}
13     )
14
15 add_executable(${PROJECT_NAME} ${SRC_LIST})
16
17 target_link_libraries(${PROJECT_NAME}
18     voglcore
19     ${TinyXML_LIBRARIES}
20     )
21
22 build_options_finalize()
23