Skip to content

Commit 28cd3b8

Browse files
committed
fix windows ci
1 parent 6f65a56 commit 28cd3b8

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
- name: Configure
5555
run: >
5656
cmake -S . -B build -G Ninja
57+
-DCMAKE_C_COMPILER=cl
58+
-DCMAKE_CXX_COMPILER=cl
5759
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake"
5860
-DVCPKG_TARGET_TRIPLET=x64-windows
5961
-DQDATA_BUILD_BENCHMARKS=ON

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ endif()
4343
add_library(qdata INTERFACE)
4444
add_library(qdata::qdata ALIAS qdata)
4545
target_compile_features(qdata INTERFACE cxx_std_17)
46+
target_compile_options(qdata
47+
INTERFACE
48+
$<$<CXX_COMPILER_ID:MSVC>:/bigobj>
49+
)
4650
target_include_directories(qdata
4751
INTERFACE
4852
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# qdata-cpp
22

3+
[![Linux CI](https://github.com/qsbase/qdata-cpp/actions/workflows/linux.yml/badge.svg)](https://github.com/qsbase/qdata-cpp/actions/workflows/linux.yml)
4+
[![macOS CI](https://github.com/qsbase/qdata-cpp/actions/workflows/macos.yml/badge.svg)](https://github.com/qsbase/qdata-cpp/actions/workflows/macos.yml)
5+
[![Windows CI](https://github.com/qsbase/qdata-cpp/actions/workflows/windows.yml/badge.svg)](https://github.com/qsbase/qdata-cpp/actions/workflows/windows.yml)
6+
37
`qdata-cpp` is the standalone C++17 library for the qdata format.
48

59
It is part of the `qs2` R package for efficient serialization, but is useful well beyond: in C++, qdata gives you a flexible, intuitive model for variable data structures, with very strong compression and performance characteristics.

0 commit comments

Comments
 (0)