Debian Codegraph @

src/vcglib/wrap/nanoply/nanoply_vcg/CMakeLists.txt

raw
1 cmake_minimum_required(VERSION 3.13)
2
3 if ("cxx_std_17" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
4
5 project(nanoply_vcg)
6
7 if (MSVC)
8 add_compile_options(/bigobj)
9 endif()
10
11 if (VCG_HEADER_ONLY)
12 set(SOURCES
13 main.cpp)
14 endif()
15
16 add_executable(nanoply_vcg
17 ${SOURCES})
18 target_compile_features(nanoply_vcg PRIVATE cxx_std_17)
19
20 target_link_libraries(
21 nanoply_vcg
22 PUBLIC
23 vcglib
24 )
25
26 endif()