Compare commits

..

2 commits

Author SHA1 Message Date
tooomm
9274eb194f Update tests/CMakeLists.txt 2026-08-29 21:37:03 +02:00
tooomm
101efd9c06 Update CMakeLists.txt 2026-08-29 21:37:02 +02:00
3 changed files with 8 additions and 4 deletions

View file

@ -285,7 +285,7 @@ echo "::endgroup::"
# Build
echo "::group::Build project"
echo "Running CMake with following build flags: ${buildflags[*]}"
cmake --build . --verbose "${buildflags[@]}"
cmake --build . "${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 --no-progress
run: choco install nsis
- name: "Setup vcpkg cache"
id: vcpkg-cache

View file

@ -172,6 +172,10 @@ 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
@ -335,8 +339,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()