From cc24d207ef280b642a12a53b05a0c11102bfdbb8 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Mon, 19 Sep 2016 16:36:46 -0600 Subject: cleanup --- CMakeLists.txt | 8 -------- lib/codegen/CMakeLists.txt | 2 -- 2 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c5773e..f2f7378 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,13 +10,6 @@ if (NOT DEFINED BOOSTHOME) endif() find_package(PythonLibs 2.7 REQUIRED) -find_package(BISON) -find_package(FLEX) - -FLEX_TARGET(ExprScanner src/parse_expr.ll ${CMAKE_CURRENT_BINARY_DIR}/parse_expr.yy.cc COMPILE_FLAGS - "--header-file=${CMAKE_CURRENT_BINARY_DIR}/parse_expr.ll.hh") # Hack to avoid generating header in root -BISON_TARGET(ExprParser src/parse_expr.yy ${CMAKE_CURRENT_BINARY_DIR}/parse_expr.tab.cc COMPILE_FLAGS "-t -d") -ADD_FLEX_BISON_DEPENDENCY(ExprScanner ExprParser) string(TIMESTAMP build_date "\\\"%m/%d/%Y\\\"") @@ -71,7 +64,6 @@ include_directories( ${ROSEHOME}/include ${ROSEHOME}/include/rose ${BOOSTHOME}/include - ${CMAKE_CURRENT_BINARY_DIR} ${PYTHON_INCLUDE_DIRS}) add_executable(chill ${CORE_SRC} ${PYTHON_SRC} ${IR_CHILL_SRC}) diff --git a/lib/codegen/CMakeLists.txt b/lib/codegen/CMakeLists.txt index 13bf0fe..324dd32 100644 --- a/lib/codegen/CMakeLists.txt +++ b/lib/codegen/CMakeLists.txt @@ -16,8 +16,6 @@ add_library(codegen ${CG_SRC} ) -add_dependencies(codegen omega) - install(TARGETS codegen ARCHIVE DESTINATION lib) install(DIRECTORY include -- cgit v1.2.3-70-g09d2