blob: 6cf39dcf86641a5e472f4c1071d506c135396544 (
plain)
1
2
3
4
5
6
7
8
9
10
|
set(SWIG_EXECUTABLE "swig")
set(SWIG_DIR "/swig")
include(UseSWIG)
swig_add_library(example LANGUAGE python TYPE MODULE SOURCES example.i)
get_property(prefix TARGET ${SWIG_MODULE_example_REAL_NAME} PROPERTY PREFIX)
message(STATUS "PREFIX='${prefix}'")
message(STATUS "TARGET NAME='${SWIG_MODULE_example_REAL_NAME}'")
|