You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
321 B
11 lines
321 B
|
|
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}'")
|