CMakeLists.txt 884 Bytes
Newer Older
1
add_library(diy INTERFACE)
Burlen Loring's avatar
Burlen Loring committed
2 3 4 5 6 7 8
target_include_directories(diy SYSTEM INTERFACE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
  $<INSTALL_INTERFACE:include>)
install(TARGETS diy EXPORT diy)
install(EXPORT diy DESTINATION lib/cmake)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/diy"
  DESTINATION include)
9 10

add_library(grid INTERFACE)
Burlen Loring's avatar
Burlen Loring committed
11 12 13 14 15 16 17
target_include_directories(grid SYSTEM INTERFACE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
  $<INSTALL_INTERFACE:include>)
install(TARGETS grid EXPORT grid)
install(EXPORT grid DESTINATION lib/cmake)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/grid"
  DESTINATION include)
18 19 20 21

add_library(opts INTERFACE)
target_include_directories(opts
  SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
Burlen Loring's avatar
Burlen Loring committed
22 23
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/opts"
  DESTINATION include)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
24

Burlen Loring's avatar
Burlen Loring committed
25 26
add_subdirectory(pugixml)
add_subdirectory(timer)
27
#add_subdirectory(ImageTester)