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 | |
7 | add_executable(libt2n_codegen ${CPP_SOURCES}) | |
8 | ||
9 | # Dependencies | |
10 | target_link_libraries(libt2n_codegen ${XMLPP_LIBRARIES}) | |
11 | ||
12 | # Installation | |
13 | install(TARGETS libt2n_codegen DESTINATION bin) | |
14 | install(FILES ${CPP_HEADERS} DESTINATION include) |