changeset 128:859d2a957940

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...
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 02:28:22 -0500
parents fb6033e8f872
children 15eae944c58e
files .builds/linux.yml .builds/win32.yml .builds/win64.yml CMakeLists.txt
diffstat 4 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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:
--- 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:
--- 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:
--- 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)