Browse Source

Install support added.

main
offa 7 years ago
parent
commit
d3436f5cac
2 changed files with 14 additions and 0 deletions
  1. +4
    -0
      CMakeLists.txt
  2. +10
    -0
      cmake/Install.cmake

+ 4
- 0
CMakeLists.txt View File

add_subdirectory("test") add_subdirectory("test")
endif() endif()



include(Install)



+ 10
- 0
cmake/Install.cmake View File


include(GNUInstallDirs)

install(TARGETS ScopeGuard
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)



Loading…
Cancel
Save