Commit | Line | Data |
---|---|---|
ab2a4234 KK |
1 | # Sources |
2 | set(CPP_SOURCES main.cpp) | |
3 | set(CPP_HEADERS codegen-stubhead.hxx) | |
4 | include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}) | |
5 | ||
6 | # Executables | |
7ba38527 | 7 | add_executable(libt2n-codegen ${CPP_SOURCES}) |
ab2a4234 KK |
8 | |
9 | # Dependencies | |
7ba38527 | 10 | target_link_libraries(libt2n-codegen ${XMLPP_LIBRARIES}) |
ab2a4234 KK |
11 | |
12 | # Installation | |
7ba38527 | 13 | install(TARGETS libt2n-codegen DESTINATION bin) |
ab2a4234 | 14 | install(FILES ${CPP_HEADERS} DESTINATION include) |
7ba38527 | 15 | install(FILES clientlib.pc.in DESTINATION share/libt2n) |
b24bd083 | 16 | install(FILES Libt2n.cmake DESTINATION ${CMAKE_ROOT}/Modules) |