CMakeLists.txt 392 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
TRIBITS_SUBPACKAGE(dl)


SET(SOURCE
library.cc
)

SET(HEADERS
function.hh
10
function.i.hh
11
12
13
14
15
16
17
18
19
library.hh
)

#
# Add library
TRIBITS_ADD_LIBRARY(radixdl
  SOURCES ${SOURCE}
  NOINSTALLHEADERS ${HEADERS}
  SHARED
20
  IMPORTEDLIBS ${CMAKE_DL_LIBS}
21
22
23
24
25
26
27
)
#
# Add testing directory
TRIBITS_ADD_TEST_DIRECTORIES(tests)

INSTALL(FILES ${HEADERS} DESTINATION "include/radixdl/")
TRIBITS_SUBPACKAGE_POSTPROCESS()