CMakeLists.txt 572 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 11 12
add_library(opts INTERFACE)
target_include_directories(opts
  SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
Burlen Loring's avatar
Burlen Loring committed
13 14
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/opts"
  DESTINATION include)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
15

Burlen Loring's avatar
Burlen Loring committed
16 17
add_subdirectory(pugixml)
add_subdirectory(timer)
18
#add_subdirectory(ImageTester)