summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-20 21:24:45 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-08-25 16:23:11 -0300
commit425c1eba27766b4382ace8f10daeaa548c9eb0d6 (patch)
treedfdf37ebca0fd2b1b26f8e598410f35eb1e6c12e /CMakeLists.txt
parent252ff87489c02fe1b26d650ad855d111042c6490 (diff)
downloadgeneratorrunner-425c1eba27766b4382ace8f10daeaa548c9eb0d6.tar.gz
generatorrunner-425c1eba27766b4382ace8f10daeaa548c9eb0d6.tar.xz
generatorrunner-425c1eba27766b4382ace8f10daeaa548c9eb0d6.zip
The current generators will be just plugins and all generator stuff in APIExtractor were moved
to this project. So we need to re-think if boostpythongenerator still a good name for the project, because boostpythongenerator will be the name of the plugin to generate bindings for boost::python. Also the generators were just moved to a subdirectory (generators) and the boostpython generators to a sub-subdirectory (generators/boostpython), transform them in plugins will be a second milestone.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e38549..2eeb84c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,11 +12,8 @@ configure_file(boostpythongeneratorversion.h.in ${CMAKE_CURRENT_BINARY_DIR}/boos
set(CMAKE_BUILD_TYPE Debug)
set(boostpythongenerator_SRC
-boostpythongenerator.cpp
-convertergenerator.cpp
-docgenerator.cpp
-hppgenerator.cpp
-cppgenerator.cpp
+main.cpp
+generator.cpp
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
@@ -26,13 +23,11 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${QT_INCLUDE_DIR}
${QT_QTCORE_INCLUDE_DIR})
-add_library(libboostpythongenerator STATIC ${boostpythongenerator_SRC})
-target_link_libraries(libboostpythongenerator
+add_executable(boostpythongenerator ${boostpythongenerator_SRC})
+target_link_libraries(boostpythongenerator
${APIEXTRACTOR_LIBRARY}
${QT_QTCORE_LIBRARY}
${QT_QTXML_LIBRARY})
-add_executable(boostpythongenerator main.cpp)
-target_link_libraries(boostpythongenerator libboostpythongenerator)
# uninstall target
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
@@ -58,5 +53,5 @@ install(TARGETS boostpythongenerator DESTINATION bin)
enable_testing()
#add_subdirectory(libbindgen)
-add_subdirectory(tests)
+# add_subdirectory(tests)