summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-21 11:15:36 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-21 11:18:04 -0300
commit55a8b424067fcf3c6a2cc3f6f9b9708b17553a6f (patch)
treeadb694721bdf7cb0abee0717605d031eeb2cfbf2 /generator
parente87fbe13223a7c53404846565e1c74d914e0eab2 (diff)
downloadshiboken-55a8b424067fcf3c6a2cc3f6f9b9708b17553a6f.tar.gz
shiboken-55a8b424067fcf3c6a2cc3f6f9b9708b17553a6f.tar.xz
shiboken-55a8b424067fcf3c6a2cc3f6f9b9708b17553a6f.zip
Add missing CMakeLists.txt file
Diffstat (limited to 'generator')
-rw-r--r--generator/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt
new file mode 100644
index 00000000..89b2ef75
--- /dev/null
+++ b/generator/CMakeLists.txt
@@ -0,0 +1,32 @@
+project(generators)
+
+set(shiboken_SRC
+cppgenerator.cpp
+headergenerator.cpp
+overloaddata.cpp
+shiboken.cpp
+shibokengenerator.cpp
+)
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}
+ ${APIEXTRACTOR_INCLUDE_DIR}
+ ${GENERATORRUNNER_INCLUDE_DIR}
+ ${QT_INCLUDE_DIR}
+ ${QT_QTCORE_INCLUDE_DIR})
+
+add_library(shiboken_generator SHARED ${shiboken_SRC})
+set_property(TARGET shiboken_generator PROPERTY PREFIX "")
+
+target_link_libraries(shiboken_generator
+ ${APIEXTRACTOR_LIBRARY}
+ ${GENERATORRUNNER_LIBRARY}
+ ${QT_QTCORE_LIBRARY})
+
+add_executable(shiboken main.cpp)
+set_target_properties(shiboken PROPERTIES OUTPUT_NAME shiboken${shiboken_SUFFIX})
+target_link_libraries(shiboken ${QT_QTCORE_LIBRARY})
+
+add_dependencies(shiboken shiboken_generator)
+
+install(TARGETS shiboken_generator DESTINATION "${GENERATORRUNNER_PLUGIN_DIR}")
+install(TARGETS shiboken DESTINATION bin)