Skip to content

Commit

Permalink
Add cmake_extra_args
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Nov 9, 2023
1 parent 690bbe1 commit 1703b4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
umb_include_meta: OFF # TODO: fix later. Boost Hana (and other) issues on MSVC.
cxx_compiler: cl
cmake_generator: Visual Studio 17 2022
cmake_extra_args: -A x64
- os: ubuntu-latest
vcpkg_commit_id: 'fe1e9f508ee13ed3d0a7d318beac7efe1ec4f9d7'
umb_include_meta: ON
cxx_compiler: g++
cmake_generator: Ninja
# cmake_extra_args:

steps:
- name: Change default cmd.exe codepage on Windows
Expand Down Expand Up @@ -106,7 +108,7 @@ jobs:

- name: Configure CMake
working-directory: ${{ github.workspace }}/build
run: cmake -G "${{ matrix.cmake_generator }}" ${{ github.workspace }}
run: cmake -G "${{ matrix.cmake_generator }}" ${{ env.cmake_extra_args }} ${{ github.workspace }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake
Expand Down

0 comments on commit 1703b4b

Please sign in to comment.