|
1 | | -set(lvarray_headers |
2 | | - Array.hpp |
3 | | - ArrayOfArrays.hpp |
4 | | - ArrayOfArraysView.hpp |
5 | | - ArrayOfSets.hpp |
6 | | - ArrayOfSetsView.hpp |
7 | | - ArraySlice.hpp |
8 | | - ArrayView.hpp |
9 | | - CRSMatrix.hpp |
10 | | - CRSMatrixView.hpp |
11 | | - ChaiBuffer.hpp |
12 | | - Macros.hpp |
13 | | - MallocBuffer.hpp |
14 | | - SortedArray.hpp |
15 | | - SortedArrayView.hpp |
16 | | - SparsityPattern.hpp |
17 | | - SparsityPatternView.hpp |
18 | | - StackBuffer.hpp |
19 | | - arrayManipulation.hpp |
20 | | - bufferManipulation.hpp |
21 | | - fixedSizeSquareMatrixOps.hpp |
22 | | - fixedSizeSquareMatrixOpsImpl.hpp |
23 | | - genericTensorOps.hpp |
24 | | - indexing.hpp |
25 | | - input.hpp |
26 | | - limits.hpp |
27 | | - math.hpp |
28 | | - output.hpp |
29 | | - sliceHelpers.hpp |
30 | | - sortedArrayManipulation.hpp |
31 | | - sortedArrayManipulationHelpers.hpp |
32 | | - system.hpp |
33 | | - tensorOps.hpp |
34 | | - totalview/tv_data_display.h |
35 | | - typeManipulation.hpp |
36 | | - ) |
| 1 | +set( lvarray_headers |
| 2 | + Array.hpp |
| 3 | + ArrayOfArrays.hpp |
| 4 | + ArrayOfArraysView.hpp |
| 5 | + ArrayOfSets.hpp |
| 6 | + ArrayOfSetsView.hpp |
| 7 | + ArraySlice.hpp |
| 8 | + ArrayView.hpp |
| 9 | + CRSMatrix.hpp |
| 10 | + CRSMatrixView.hpp |
| 11 | + ChaiBuffer.hpp |
| 12 | + Macros.hpp |
| 13 | + MallocBuffer.hpp |
| 14 | + SortedArray.hpp |
| 15 | + SortedArrayView.hpp |
| 16 | + SparsityPattern.hpp |
| 17 | + SparsityPatternView.hpp |
| 18 | + StackBuffer.hpp |
| 19 | + arrayManipulation.hpp |
| 20 | + bufferManipulation.hpp |
| 21 | + fixedSizeSquareMatrixOps.hpp |
| 22 | + fixedSizeSquareMatrixOpsImpl.hpp |
| 23 | + genericTensorOps.hpp |
| 24 | + indexing.hpp |
| 25 | + input.hpp |
| 26 | + limits.hpp |
| 27 | + math.hpp |
| 28 | + output.hpp |
| 29 | + sliceHelpers.hpp |
| 30 | + sortedArrayManipulation.hpp |
| 31 | + sortedArrayManipulationHelpers.hpp |
| 32 | + system.hpp |
| 33 | + tensorOps.hpp |
| 34 | + totalview/tv_data_display.h |
| 35 | + typeManipulation.hpp ) |
37 | 36 |
|
38 | | -set(lvarray_sources |
39 | | - system.cpp |
40 | | - totalview/tv_data_display.c |
41 | | - ) |
| 37 | +set( lvarray_sources |
| 38 | + system.cpp |
| 39 | + totalview/tv_data_display.c ) |
42 | 40 |
|
43 | | - |
44 | | -message("adding lvarray library") |
45 | 41 | blt_add_library( NAME lvarray |
46 | 42 | SOURCES ${lvarray_sources} |
47 | 43 | HEADERS ${lvarray_headers} |
48 | | - DEPENDS_ON ${lvarray_dependencies} |
49 | | - ) |
| 44 | + DEPENDS_ON ${lvarray_dependencies} ) |
| 45 | + |
| 46 | +target_include_directories( lvarray |
| 47 | + PUBLIC |
| 48 | + $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include> |
| 49 | + $<INSTALL_INTERFACE:include> ) |
| 50 | + |
| 51 | +install( TARGETS lvarray |
| 52 | + EXPORT lvarray |
| 53 | + ARCHIVE DESTINATION lib |
| 54 | + LIBRARY DESTINATION lib |
| 55 | + RUNTIME DESTINATION lib ) |
| 56 | + |
| 57 | +install( EXPORT lvarray |
| 58 | + DESTINATION share/lvarray/cmake/ ) |
50 | 59 |
|
51 | | -target_include_directories( lvarray PUBLIC ${CMAKE_BINARY_DIR}/include ) |
| 60 | +install( FILES ${lvarray_headers} DESTINATION include |
| 61 | + ) |
52 | 62 |
|
53 | 63 | lvarray_add_code_checks( PREFIX lvarray |
54 | 64 | EXCLUDES "blt/*" ) |
0 commit comments