Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Oct 22, 2022
1 parent 94ed86b commit 7fdd165
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@ outputs:

# CMake integration
- cd cmake_test
- cmake -GNinja %CMAKE_ARGS% . # [win]
- cmake -GNinja $CMAKE_ARGS . # [unix]
- export CMAKE_ARGS="$CMAKE_ARGS -GNinja -DCMAKE_BUILD_TYPE=Release" # [unix]
- set "CMAKE_ARGS=%CMAKE_ARGS% -GNinja -DCMAKE_BUILD_TYPE=Release" # [win]
- cmake $CMAKE_ARGS -DCMAKE_CXX_STANDARD={{ cxx_standard }} . # [unix]
- cmake %CMAKE_ARGS% -DCMAKE_CXX_STANDARD={{ cxx_standard }} . # [win]
- cmake --build .
- flags_example.exe # [win]
- ./flags_example # [unix]
- ./flags_example # [unix]
- flags_example.exe # [win]

{% else %} # shared_libs == "OFF"

Expand Down Expand Up @@ -153,11 +155,13 @@ outputs:

# CMake integration
- cd cmake_test
- cmake -GNinja %CMAKE_ARGS% . # [win]
- cmake -GNinja $CMAKE_ARGS . # [unix]
- export CMAKE_ARGS="$CMAKE_ARGS -GNinja -DCMAKE_BUILD_TYPE=Release" # [unix]
- set "CMAKE_ARGS=%CMAKE_ARGS% -GNinja -DCMAKE_BUILD_TYPE=Release" # [win]
- cmake $CMAKE_ARGS -DCMAKE_CXX_STANDARD={{ cxx_standard }} . # [unix]
- cmake %CMAKE_ARGS% -DCMAKE_CXX_STANDARD={{ cxx_standard }} . # [win]
- cmake --build .
- flags_example.exe # [win]
- ./flags_example # [unix]
- ./flags_example # [unix]
- flags_example.exe # [win]

{% endif %} # shared_libs == "ON" / "OFF"

Expand Down

0 comments on commit 7fdd165

Please sign in to comment.