2019-09-27 14:58:48 -05:00
|
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
|
|
|
|
project(libini)
|
|
|
|
|
|
|
|
file(GLOB_RECURSE LIB_HEADERS src/*.h)
|
|
|
|
files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)
|
|
|
|
|
|
|
|
#Create the library
|
|
|
|
add_library(libini STATIC
|
2019-11-01 21:51:49 -05:00
|
|
|
${LIB_HEADERS})
|
|
|
|
|
2019-09-27 14:58:48 -05:00
|
|
|
target_include_directories(libini PUBLIC ${LIB_INCLUDE_DIRS})
|
2019-11-01 21:51:49 -05:00
|
|
|
set_target_properties(libini PROPERTIES PREFIX "" LINKER_LANGUAGE CXX)
|
2022-08-24 21:47:01 -05:00
|
|
|
|
|
|
|
install(TARGETS libini DESTINATION bin)
|