OpenFPGA/libs/libini/CMakeLists.txt

16 lines
390 B
CMake
Raw Normal View History

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})
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)
install(TARGETS libini DESTINATION bin)