/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool
240 by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines
1
include_directories(
2
    ${CMAKE_SOURCE_DIR}
302 by Suren A. Chilingaryan
Fixes out-of-source builds and minor build issues
3
    ${CMAKE_BINARY_DIR}
240 by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines
4
    ${CMAKE_SOURCE_DIR}/pcilib
302 by Suren A. Chilingaryan
Fixes out-of-source builds and minor build issues
5
    ${CMAKE_BINARY_DIR}/pcilib
303 by Suren A. Chilingaryan
Initial integration of XML support
6
    ${LIBXML2_INCLUDE_DIRS}
309 by Suren A. Chilingaryan
Base functions for views
7
    ${PYTHON_INCLUDE_DIR}
307 by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far)
8
    ${UTHASH_INCLUDE_DIRS}
240 by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines
9
)
10
403 by Suren A. Chilingaryan
Allow mapping of arbitrary memory areas
11
set(HEADERS pcilib.h pci.h datacpy.h memcpy.h pagecpy.h cpu.h timing.h export.h value.h mem.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 config.h version.h build.h)
12
add_library(pcilib SHARED pci.c datacpy.c memcpy.c pagecpy.c cpu.c timing.c export.c value.c mem.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)
307 by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far)
13
target_link_libraries(pcilib dma protocols views ${CMAKE_THREAD_LIBS_INIT} ${UFODECODE_LIBRARIES} ${CMAKE_DL_LIBS} ${EXTRA_SYSTEM_LIBS} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES})
374 by Suren A. Chilingaryan
Handle build.h in releases
14
add_dependencies(pcilib dma protocols views)
240 by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines
15
16
install(TARGETS pcilib
388 by Suren A. Chilingaryan
Use GNUInstallDirs
17
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
240 by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines
18
)
19
20
install(FILES pcilib.h
21
    DESTINATION include
22
)
23
403 by Suren A. Chilingaryan
Allow mapping of arbitrary memory areas
24
install(FILES mem.h bar.h kmem.h locking.h lock.h bank.h register.h xml.h dma.h event.h model.h error.h debug.h env.h tools.h timing.h cpu.h datacpy.h pagecpy.h memcpy.h export.h view.h unit.h
346.1.39 by Vasilii Chernov
Add python servers instalation step. Add systemd config files generation for python servers.
25
    DESTINATION include/pcilib
26
)
27
28
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version.h
346.1.20 by Vasilii Chernov
Add istall step for pcipywrap
29
    DESTINATION include/pcilib
30
)