summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-19 12:02:50 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-19 16:19:20 -0300
commit7701c41779a72d9a6dd8359da33345f4acc93856 (patch)
treee3eee7875470578190526760a9c1b571b90c062c /tests/samplebinding
parentd0c503628bdc5183f7f4792e10a4e105ff795d81 (diff)
downloadshiboken-7701c41779a72d9a6dd8359da33345f4acc93856.tar.gz
shiboken-7701c41779a72d9a6dd8359da33345f4acc93856.tar.xz
shiboken-7701c41779a72d9a6dd8359da33345f4acc93856.zip
Use .pyd to python modules on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt
index 0dbf1170..a240749a 100644
--- a/tests/samplebinding/CMakeLists.txt
+++ b/tests/samplebinding/CMakeLists.txt
@@ -94,6 +94,9 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${libshiboken_SOURCE_DIR})
add_library(sample MODULE ${sample_SRC})
set_property(TARGET sample PROPERTY PREFIX "")
+if(WIN32)
+ set_property(TARGET sample PROPERTY SUFFIX ".pyd")
+endif()
target_link_libraries(sample
libsample
${SBK_PYTHON_LIBRARIES}