2 set(CPP_SOURCES main.cpp)
3 set(CPP_HEADERS codegen-stubhead.hxx)
4 include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
7 add_executable(libt2n-codegen ${CPP_SOURCES})
10 target_link_libraries(libt2n-codegen ${XMLPP_LIBRARIES})
13 install(TARGETS libt2n-codegen DESTINATION bin)
14 install(FILES ${CPP_HEADERS} DESTINATION include)
15 install(FILES clientlib.pc.in DESTINATION share/libt2n)
16 install(FILES Libt2n.cmake DESTINATION ${CMAKE_ROOT}/Modules)