2022-11-02 18:25:09 +03:00
|
|
|
cmake_minimum_required(VERSION 3.21)
|
2022-11-04 03:15:28 +03:00
|
|
|
project(clAugeas VERSION 1.0.1 DESCRIPTION "clAugeas description")
|
2022-11-03 22:30:21 +03:00
|
|
|
|
2022-11-03 22:39:33 +03:00
|
|
|
include_directories(/opt/homebrew/opt/augeas/include/)
|
2022-11-02 18:25:09 +03:00
|
|
|
link_directories(/opt/homebrew/opt/augeas/lib)
|
2022-11-03 22:30:21 +03:00
|
|
|
|
2022-11-02 18:25:09 +03:00
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
2022-11-03 22:30:21 +03:00
|
|
|
set(GCC_COVERAGE_COMPILE_FLAGS "-fdeclspec")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}")
|
|
|
|
|
2022-11-04 03:15:28 +03:00
|
|
|
add_library(clAugeas SHARED
|
|
|
|
include/augSettings.cpp
|
|
|
|
include/augSettings.h
|
2022-11-05 05:08:50 +03:00
|
|
|
|
|
|
|
main.cpp main.h include/pair.cpp)
|
2022-11-03 22:30:21 +03:00
|
|
|
|
2022-11-04 03:15:28 +03:00
|
|
|
target_link_libraries(clAugeas augeas)
|
2022-11-03 22:30:21 +03:00
|
|
|
|
|
|
|
|
2022-11-02 18:25:09 +03:00
|
|
|
|