/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-24 03:35:48 UTC
  • Revision ID: csa@suren.me-20150424033548-7xhacqq2s8s1t2fp
More structural changes to get ready for stand-alone event engines

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(
 
2
    ${CMAKE_SOURCE_DIR}
 
3
    ${CMAKE_SOURCE_DIR}/pcilib
 
4
)
 
5
 
 
6
set(HEADERS pcilib.h pci.h config.h model.h bank.h register.h kmem.h irq.h dma.h event.h tools.h error.h)
 
7
add_library(pcilib SHARED pci.c config.c model.c bank.c register.c kmem.c irq.c dma.c event.c tools.c error.c)
 
8
target_link_libraries(pcilib dma protocols ${CMAKE_THREAD_LIBS_INIT} ${UFODECODE_LIBRARIES} )
 
9
add_dependencies(pcilib dma protocols)
 
10
 
 
11
install(TARGETS pcilib
 
12
    LIBRARY DESTINATION lib${LIB_SUFFIX}
 
13
)
 
14
 
 
15
install(FILES pcilib.h
 
16
    DESTINATION include
 
17
)
 
18
 
 
19
install(FILES bank.h register.h dma.h event.h model.h error.h tools.h config.h
 
20
    DESTINATION include/pcilib
 
21
)