Initial cmake conversion of the libt2n project except the example projects. The unit...
[libt2n] / codegen / CMakeLists.txt
CommitLineData
ab2a4234
KK
1# Sources
2set(CPP_SOURCES main.cpp)
3set(CPP_HEADERS codegen-stubhead.hxx)
4include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
5
6# Executables
7add_executable(libt2n_codegen ${CPP_SOURCES})
8
9# Dependencies
10target_link_libraries(libt2n_codegen ${XMLPP_LIBRARIES})
11
12# Installation
13install(TARGETS libt2n_codegen DESTINATION bin)
14install(FILES ${CPP_HEADERS} DESTINATION include)