From 425c1eba27766b4382ace8f10daeaa548c9eb0d6 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Thu, 20 Aug 2009 21:24:45 -0300 Subject: 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. --- CMakeLists.txt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e385494f..2eeb84ca1 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) -- cgit v1.2.3