tutorial/a/CMakeLists.txt
5de2fbd6
 cmake_minimum_required (VERSION 3.0)
 
70513e67
 project (a)
5de2fbd6
 
 set(HEADERS
70513e67
 src/a.h)
5de2fbd6
 
 add_library(A
70513e67
 src/a.c
5de2fbd6
 )
 
 INSTALL(TARGETS A DESTINATION lib)
70513e67
 INSTALL(FILES ${HEADERS} DESTINATION "include/a")