Warning, /sdk/codevis/lvtclp/systemtests/package_circular_dependency/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.10)
0002 
0003 project(demo-project CXX)
0004 
0005 set(CMAKE_CXX_STANDARD 17)
0006 set(CMAKE_CXX_STANDARD_REQUIRED ON)
0007 set(CMAKE_CXX_EXTENSIONS OFF)
0008 
0009 include_directories(
0010     groups/one/onepkg
0011     groups/two/twodmo
0012 )
0013 
0014 if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
0015     set(CMAKE_CXX_FLAGS
0016         "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror")
0017 endif()
0018 
0019 add_library(demo-project
0020     groups/one/onepkg/ct_onepkg_circle.cpp
0021     groups/one/onepkg/ct_onepkg_thing.cpp
0022     groups/two/twodmo/ct_twodmo_top.cpp
0023 
0024     groups/one/onepkg/ct_onepkg_circle.h
0025     groups/one/onepkg/ct_onepkg_thing.h
0026     groups/two/twodmo/ct_twodmo_top.h
0027 )