/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-08 18:06:36 UTC
  • Revision ID: csa@suren.me-20150508180636-x3vsolbme4uot0ox
Prevent excessive calling of getenv by debugging code for better performance

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
    ${CMAKE_SOURCE_DIR}/pcilib
4
4
)
5
5
 
6
 
set(HEADERS pcilib.h pci.h export.h bar.h fifo.h model.h bank.h register.h kmem.h irq.h dma.h event.h plugin.h tools.h error.h debug.h version.h config.h)
7
 
add_library(pcilib SHARED pci.c export.c bar.c fifo.c model.c bank.c register.c kmem.c irq.c dma.c event.c plugin.c tools.c error.c debug.c)
 
6
set(HEADERS pcilib.h pci.h export.h bar.h fifo.h model.h bank.h register.h kmem.h irq.h dma.h event.h plugin.h tools.h error.h debug.h env.h version.h config.h)
 
7
add_library(pcilib SHARED pci.c export.c bar.c fifo.c model.c bank.c register.c kmem.c irq.c dma.c event.c plugin.c tools.c error.c debug.c env.c)
8
8
target_link_libraries(pcilib dma protocols ${CMAKE_THREAD_LIBS_INIT} ${UFODECODE_LIBRARIES} ${CMAKE_DL_LIBS})
9
9
add_dependencies(pcilib dma protocols)
10
10
 
16
16
    DESTINATION include
17
17
)
18
18
 
19
 
install(FILES bar.h kmem.h bank.h register.h dma.h event.h model.h error.h debug.h tools.h export.h version.h
 
19
install(FILES bar.h kmem.h bank.h register.h dma.h event.h model.h error.h debug.h env.h tools.h export.h version.h
20
20
    DESTINATION include/pcilib
21
21
)