summaryrefslogtreecommitdiffstats
path: root/generator/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r--generator/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt
index 1a2eb1f0..f3cbe084 100644
--- a/generator/CMakeLists.txt
+++ b/generator/CMakeLists.txt
@@ -10,6 +10,7 @@ shibokennormalize.cpp
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
${APIEXTRACTOR_INCLUDE_DIR}
${GENERATORRUNNER_INCLUDE_DIR}
${QT_INCLUDE_DIR}
@@ -23,6 +24,8 @@ target_link_libraries(shiboken_generator
${GENERATORRUNNER_LIBRARY}
${QT_QTCORE_LIBRARY})
+configure_file(shibokenconfig.h.in "${CMAKE_CURRENT_BINARY_DIR}/shibokenconfig.h" @ONLY)
+
add_executable(shiboken main.cpp)
set_target_properties(shiboken PROPERTIES OUTPUT_NAME shiboken${shiboken_SUFFIX})
target_link_libraries(shiboken ${QT_QTCORE_LIBRARY})