diff options
Diffstat (limited to 'pywrap/CMakeLists.txt')
-rw-r--r-- | pywrap/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pywrap/CMakeLists.txt b/pywrap/CMakeLists.txt index 4592c9a..1693232 100644 --- a/pywrap/CMakeLists.txt +++ b/pywrap/CMakeLists.txt @@ -11,12 +11,12 @@ include_directories( set(HEADERS pcipywrap.h) #Creating python wrapping -INCLUDE(${SWIG_USE_FILE}) -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) -SET(CMAKE_SWIG_FLAGS "") +include(${SWIG_USE_FILE}) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +set(CMAKE_SWIG_FLAGS "") -SWIG_ADD_MODULE(pcipywrap python pcipywrap.i pcipywrap.c) -SWIG_LINK_LIBRARIES(pcipywrap ${PYTHON_LIBRARIES} pcilib) +swig_add_module(pcipywrap python pcipywrap.i pcipywrap.c) +swig_link_libraries(pcipywrap ${PYTHON_LIBRARIES} pcilib) -configure_file(server.py server.py) -configure_file(test_pcipywrap.py test_pcipywrap.py) +#configure_file(server.py server.py) +#configure_file(test_pcipywrap.py test_pcipywrap.py) |