diff --git a/recipe/meta.yaml b/recipe/meta.yaml index bceb277..4e56d0e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -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" @@ -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"