Modernize retained Linux WebGL CMake baselines
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.4.1)
|
||||
project(panopainter)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(PanoPainterWebGL LANGUAGES C CXX)
|
||||
file(COPY ../data
|
||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
add_executable(panopainter
|
||||
@@ -103,8 +103,10 @@ add_executable(panopainter
|
||||
../src/node_shorcuts.cpp
|
||||
../src/node_metadata.cpp
|
||||
)
|
||||
target_compile_options(panopainter PRIVATE -std=c++14 -O3)
|
||||
target_compile_options(panopainter PRIVATE -O3)
|
||||
target_compile_features(panopainter PRIVATE cxx_std_23)
|
||||
set_target_properties(panopainter PROPERTIES
|
||||
CXX_EXTENSIONS OFF
|
||||
SUFFIX ".html"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/html"
|
||||
LINK_FLAGS "\
|
||||
|
||||
Reference in New Issue
Block a user