Skip to content

added ifdef

added ifdef #8

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-windows-x64:
name: Windows x64 Release (vcpkg)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@v5
- name: Cache vcpkg
uses: actions/cache@v4
with:
path: cmake-build/vcpkg_installed
key: vcpkg-windows-x64-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
restore-keys: vcpkg-windows-x64-
- name: Configure
run: cmake --preset windows-release-vcpkg
- name: Build
run: cmake --build cmake-build/build/windows-release-vcpkg --config Release --parallel