diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 15:50:07 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 15:50:07 -0600 |
commit | a9ed06bec80a2a975102195b5b7b4fe7fece3d38 (patch) | |
tree | b7a92badcfa410c4b57870c78226429bd50d2bfe | |
parent | 210f77d2c32f14d2e99577fd3c9842bb19d47e50 (diff) | |
download | chill-a9ed06bec80a2a975102195b5b7b4fe7fece3d38.tar.gz chill-a9ed06bec80a2a975102195b5b7b4fe7fece3d38.tar.bz2 chill-a9ed06bec80a2a975102195b5b7b4fe7fece3d38.zip |
change rosecg path & add install
-rw-r--r-- | lib/rosecg/CMakeLists.txt | 6 | ||||
-rw-r--r-- | lib/rosecg/include/code_gen/CG_roseBuilder.h (renamed from lib/rosecg/include/CG_roseBuilder.h) | 4 | ||||
-rw-r--r-- | lib/rosecg/include/code_gen/CG_roseRepr.h (renamed from lib/rosecg/include/CG_roseRepr.h) | 0 | ||||
-rw-r--r-- | lib/rosecg/include/code_gen/rose_attributes.h (renamed from lib/rosecg/include/rose_attributes.h) | 0 | ||||
-rw-r--r-- | lib/rosecg/src/CG_roseBuilder.cc | 2 | ||||
-rw-r--r-- | lib/rosecg/src/CG_roseRepr.cc | 4 | ||||
-rw-r--r-- | lib/rosecg/src/rose_attributes.cc | 2 | ||||
-rw-r--r-- | src/ir_rose.cc | 6 |
8 files changed, 15 insertions, 9 deletions
diff --git a/lib/rosecg/CMakeLists.txt b/lib/rosecg/CMakeLists.txt index 610bc50..f6dde35 100644 --- a/lib/rosecg/CMakeLists.txt +++ b/lib/rosecg/CMakeLists.txt @@ -16,3 +16,9 @@ add_library(rosecg ${CODEGEN_ROSE_SRC}) install(TARGETS rosecg DESTINATION lib) + +install(TARGETS omega + ARCHIVE DESTINATION lib) + +install(DIRECTORY include/code_gen + DESTINATION include) diff --git a/lib/rosecg/include/CG_roseBuilder.h b/lib/rosecg/include/code_gen/CG_roseBuilder.h index bb622c7..ca33f7e 100644 --- a/lib/rosecg/include/CG_roseBuilder.h +++ b/lib/rosecg/include/code_gen/CG_roseBuilder.h @@ -2,9 +2,9 @@ #define CG_roseBuilder_h #include <basic/Tuple.h> -#include "rose_attributes.h" +#include "code_gen/rose_attributes.h" #include <code_gen/CG_outputBuilder.h> -#include "CG_roseRepr.h" +#include "code_gen/CG_roseRepr.h" #include <string> namespace omega { diff --git a/lib/rosecg/include/CG_roseRepr.h b/lib/rosecg/include/code_gen/CG_roseRepr.h index 28553e7..28553e7 100644 --- a/lib/rosecg/include/CG_roseRepr.h +++ b/lib/rosecg/include/code_gen/CG_roseRepr.h diff --git a/lib/rosecg/include/rose_attributes.h b/lib/rosecg/include/code_gen/rose_attributes.h index 9766f52..9766f52 100644 --- a/lib/rosecg/include/rose_attributes.h +++ b/lib/rosecg/include/code_gen/rose_attributes.h diff --git a/lib/rosecg/src/CG_roseBuilder.cc b/lib/rosecg/src/CG_roseBuilder.cc index 09370a4..8f7e3df 100644 --- a/lib/rosecg/src/CG_roseBuilder.cc +++ b/lib/rosecg/src/CG_roseBuilder.cc @@ -13,7 +13,7 @@ *****************************************************************************/ #include <stack> -#include "CG_roseBuilder.h" +#include "code_gen/CG_roseBuilder.h" #include <string> struct ir_error: public std::runtime_error { diff --git a/lib/rosecg/src/CG_roseRepr.cc b/lib/rosecg/src/CG_roseRepr.cc index 0b0c073..5472239 100644 --- a/lib/rosecg/src/CG_roseRepr.cc +++ b/lib/rosecg/src/CG_roseRepr.cc @@ -11,8 +11,8 @@ 02/01/06 - Chun Chen - created *****************************************************************************/ -#include "CG_roseRepr.h" -#include "rose_attributes.h" +#include "code_gen/CG_roseRepr.h" +#include "code_gen/rose_attributes.h" #include <stdio.h> #include <string.h> #include <cstring> diff --git a/lib/rosecg/src/rose_attributes.cc b/lib/rosecg/src/rose_attributes.cc index 3debb2d..c5ba30b 100644 --- a/lib/rosecg/src/rose_attributes.cc +++ b/lib/rosecg/src/rose_attributes.cc @@ -1,4 +1,4 @@ -#include "rose_attributes.h" +#include "code_gen/rose_attributes.h" namespace omega { diff --git a/src/ir_rose.cc b/src/ir_rose.cc index dc3eed8..223e7a4 100644 --- a/src/ir_rose.cc +++ b/src/ir_rose.cc @@ -14,9 +14,9 @@ #include <string> #include "ir_rose.hh" #include "ir_rose_utils.hh" -#include "rose_attributes.h" -#include "CG_roseRepr.h" -#include "CG_roseBuilder.h" +#include "code_gen/rose_attributes.h" +#include "code_gen/CG_roseRepr.h" +#include "code_gen/CG_roseBuilder.h" using namespace SageBuilder; using namespace SageInterface; |