claugeas/CMakeLists.txt

21 lines
529 B
CMake

cmake_minimum_required(VERSION 3.21)
project(clAugeas VERSION 1.0.1 DESCRIPTION "clAugeas description")
include_directories(/opt/homebrew/opt/augeas/include/)
link_directories(/opt/homebrew/opt/augeas/lib)
set(CMAKE_CXX_STANDARD 14)
set(GCC_COVERAGE_COMPILE_FLAGS "-fdeclspec")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}")
add_library(clAugeas SHARED
include/augSettings.cpp
include/augSettings.h
main.cpp main.h include/pair.cpp)
target_link_libraries(clAugeas augeas)