diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-09-16 14:29:25 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:14 -0300 |
commit | 4e17f2620f10677e09b9cb93c7ba8efa703b158b (patch) | |
tree | 7ffe0300a6c3166ebf0dca76c7ff9876ef9cbedc /shibokenmodule/CMakeLists.txt | |
parent | c686942f6efbac4ac43cf859bfdd2c7209b783ea (diff) |
Revert "Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module"."
This reverts commit bc8448d7fb91733ff08c2a6a3a878702c14a24e0.
The PSEP didn't reach the final version yet, so this commit can't be released.
Diffstat (limited to 'shibokenmodule/CMakeLists.txt')
-rw-r--r-- | shibokenmodule/CMakeLists.txt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/shibokenmodule/CMakeLists.txt b/shibokenmodule/CMakeLists.txt deleted file mode 100644 index 6c97b478a..000000000 --- a/shibokenmodule/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -project(shibokenmodule) - -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/shibokenmodule.txt.in" - "${CMAKE_CURRENT_BINARY_DIR}/shibokenmodule.txt" @ONLY) - - -set(sample_SRC -${CMAKE_CURRENT_BINARY_DIR}/shiboken/shiboken_module_wrapper.cpp -) - -add_custom_command(OUTPUT ${sample_SRC} -COMMAND ${GENERATORRUNNER_BINARY} --project-file=${CMAKE_CURRENT_BINARY_DIR}/shibokenmodule.txt ${GENERATOR_EXTRA_FLAGS} -WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -COMMENT "Running generator for 'shiboken'..." -) - -include_directories(${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_SOURCE_DIR} - ${SBK_PYTHON_INCLUDE_DIR} - ${libshiboken_SOURCE_DIR}) -add_library(shibokenmodule MODULE ${sample_SRC}) -set_property(TARGET shibokenmodule PROPERTY PREFIX "") -set_property(TARGET shibokenmodule PROPERTY OUTPUT_NAME "shiboken") -if(WIN32) - set_property(TARGET shibokenmodule PROPERTY SUFFIX ".pyd") -endif() -target_link_libraries(shibokenmodule - ${SBK_PYTHON_LIBRARIES} - libshiboken) - -add_dependencies(shibokenmodule shiboken_generator) - |