From 2fce43d484e4148ae858f410d51dcd9951d34374 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sun, 18 Sep 2016 15:45:13 +0000 Subject: remove include & rename --- omegalib/codegen/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 omegalib/codegen/CMakeLists.txt (limited to 'omegalib/codegen/CMakeLists.txt') diff --git a/omegalib/codegen/CMakeLists.txt b/omegalib/codegen/CMakeLists.txt new file mode 100644 index 0000000..79bdcb4 --- /dev/null +++ b/omegalib/codegen/CMakeLists.txt @@ -0,0 +1,30 @@ +set(CG_SRC + src/codegen.cc + src/CG.cc + src/CG_stringBuilder.cc + src/CG_utils.cc + + src/rose_attributes.cc + src/CG_roseBuilder.cc + src/CG_roseRepr.cc + ) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-write-strings") + +include_directories( + include + ${OMEGAROOT}/omega/include + ${ROSEHOME}/include/rose + ${BOOSTHOME}/include + ) + +add_library(codegen + ${CG_SRC} + ) + +add_dependencies(codegen omega) + +install(TARGETS codegen + ARCHIVE DESTINATION lib) +install(DIRECTORY include + DESTINATION .) -- cgit v1.2.3-70-g09d2