# HG changeset patch # User Paper # Date 1699514902 18000 # Node ID 859d2a957940cb5072d54606d5c40baf1aa545a0 # Parent fb6033e8f872325442ffc12cc0f0235f2c6b29d2 cmake: set CXX_STANDARD to 17 builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64 I'd prefer staying on C++11, but if constexpr is just so damn sexy... diff -r fb6033e8f872 -r 859d2a957940 .builds/linux.yml --- a/.builds/linux.yml Thu Nov 09 01:20:29 2023 -0500 +++ b/.builds/linux.yml Thu Nov 09 02:28:22 2023 -0500 @@ -5,6 +5,7 @@ - cmake - clang - libcurl4-openssl-dev + - wget sources: - https://hg.sr.ht/~mrpapersonic/minori environment: diff -r fb6033e8f872 -r 859d2a957940 .builds/win32.yml --- a/.builds/win32.yml Thu Nov 09 01:20:29 2023 -0500 +++ b/.builds/win32.yml Thu Nov 09 02:28:22 2023 -0500 @@ -25,7 +25,6 @@ cd ../minori mkdir build cd build - sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make' triggers: diff -r fb6033e8f872 -r 859d2a957940 .builds/win64.yml --- a/.builds/win64.yml Thu Nov 09 01:20:29 2023 -0500 +++ b/.builds/win64.yml Thu Nov 09 02:28:22 2023 -0500 @@ -25,7 +25,6 @@ cd ../minori mkdir build cd build - sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make' triggers: diff -r fb6033e8f872 -r 859d2a957940 CMakeLists.txt --- a/CMakeLists.txt Thu Nov 09 01:20:29 2023 -0500 +++ b/CMakeLists.txt Thu Nov 09 02:28:22 2023 -0500 @@ -191,7 +191,7 @@ endif() add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES}) -set_property(TARGET minori PROPERTY CXX_STANDARD 11) +set_property(TARGET minori PROPERTY CXX_STANDARD 17) set_property(TARGET minori PROPERTY AUTOMOC ON) set_property(TARGET minori PROPERTY AUTORCC ON)