diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
commit | d7fc669bf0dbe37f46d2efec4940feb8504017c2 (patch) | |
tree | 7075ee0851d52f9e448be3ff084dde1c35014558 /pcilib/CMakeLists.txt | |
parent | 76ee5a167add1c169a982ab59aa0544f827cb365 (diff) | |
download | pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.gz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.bz2 pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.xz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.zip |
Change no_set_check parameter name. Move Python wrap to separate directory.
Diffstat (limited to 'pcilib/CMakeLists.txt')
-rw-r--r-- | pcilib/CMakeLists.txt | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/pcilib/CMakeLists.txt b/pcilib/CMakeLists.txt index faebcab..cdc9c3f 100644 --- a/pcilib/CMakeLists.txt +++ b/pcilib/CMakeLists.txt @@ -9,21 +9,10 @@ include_directories( ) set(HEADERS pcilib.h pci.h datacpy.h memcpy.h pagecpy.h cpu.h timing.h export.h value.h bar.h fifo.h model.h bank.h register.h view.h property.h unit.h xml.h py.h kmem.h irq.h locking.h lock.h dma.h event.h plugin.h tools.h error.h debug.h env.h version.h config.h) -add_library(pcilib SHARED pci.c pcipywrap.c datacpy.c memcpy.c pagecpy.c cpu.c timing.c export.c value.c bar.c fifo.c model.c bank.c register.c view.c unit.c property.c xml.c py.c kmem.c irq.c locking.c lock.c dma.c event.c plugin.c tools.c error.c debug.c env.c ) +add_library(pcilib SHARED pci.c datacpy.c memcpy.c pagecpy.c cpu.c timing.c export.c value.c bar.c fifo.c model.c bank.c register.c view.c unit.c property.c xml.c py.c kmem.c irq.c locking.c lock.c dma.c event.c plugin.c tools.c error.c debug.c env.c ) target_link_libraries(pcilib dma protocols views ${CMAKE_THREAD_LIBS_INIT} ${UFODECODE_LIBRARIES} ${CMAKE_DL_LIBS} ${EXTRA_SYSTEM_LIBS} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES}) add_dependencies(pcilib dma protocols views) -#Creating python wrapping -INCLUDE(${SWIG_USE_FILE}) - -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) - -SET(CMAKE_SWIG_FLAGS "") - -SET_SOURCE_FILES_PROPERTIES(pcipywrap.i PROPERTIES SWIG_FLAGS "-includeall") -SWIG_ADD_MODULE(pcipywrap python pcipywrap.i) -SWIG_LINK_LIBRARIES(pcipywrap ${PYTHON_LIBRARIES} pcilib) - install(TARGETS pcilib LIBRARY DESTINATION lib${LIB_SUFFIX} ) |