Compare commits

..

5 commits

Author SHA1 Message Date
tooomm
8990b6103f Remove dedicated macOS gnu++20 flag 2026-08-30 02:17:42 +02:00
tooomm
fa0d954afa Enable verbose compilation logging 2026-08-29 23:15:59 +02:00
tooomm
7b452b923f Update desktop-build.yml 2026-08-29 23:15:59 +02:00
tooomm
88b1d753c6 Update tests/CMakeLists.txt 2026-08-29 21:48:22 +02:00
tooomm
efe7a8234b Update CMakeLists.txt 2026-08-29 21:48:21 +02:00
3 changed files with 4 additions and 8 deletions

View file

@ -285,7 +285,7 @@ echo "::endgroup::"
# Build
echo "::group::Build project"
echo "Running CMake with following build flags: ${buildflags[*]}"
cmake --build . "${buildflags[@]}"
cmake --build . --verbose "${buildflags[@]}"
echo "::endgroup::"
# Post-build

View file

@ -419,7 +419,7 @@ jobs:
- name: "[Windows] Install NSIS"
if: matrix.os == 'Windows'
shell: bash
run: choco install nsis
run: choco install nsis --no-progress
- name: "Setup vcpkg cache"
id: vcpkg-cache

View file

@ -172,10 +172,6 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) # Linux/GCC, BSD/GCC, Windows/MinGW
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -O0 -Wall -Wextra")
endif()
if(APPLE) # macOS
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++20") # still needed?
endif()
set(ADDITIONAL_DEBUG_FLAGS
-Wcast-align
-Wmissing-declarations
@ -339,8 +335,8 @@ add_subdirectory(${CMAKE_SOURCE_DIR}/libcockatrice_rng ${CMAKE_BINARY_DIR}/libco
add_subdirectory(${CMAKE_SOURCE_DIR}/libcockatrice_utility ${CMAKE_BINARY_DIR}/libcockatrice_utility)
if(WITH_CLIENT
OR WITH_ORACLE
OR WITH_SERVER
OR WITH_ORACLE
OR WITH_SERVER
)
add_subdirectory(${CMAKE_SOURCE_DIR}/libcockatrice_network ${CMAKE_BINARY_DIR}/libcockatrice_network)
endif()