9 lines
278 B
CMake
9 lines
278 B
CMake
|
cmake_minimum_required(VERSION 3.3)
|
||
|
project(cmext)
|
||
|
|
||
|
include(GNUInstallDirs)
|
||
|
add_library(cmext cmext.cpp)
|
||
|
install(TARGETS cmext ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||
|
install(FILES cmext.hpp COMPONENT headers DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_PROJECT_NAME})
|
||
|
|