Skip to content

Commit

Permalink
Add build configurations for testing (#209)
Browse files Browse the repository at this point in the history
These make activating the test_runner easier than having to modify the CMakeSettings.json by hand.
  • Loading branch information
ronald-jaepel authored Jul 10, 2024
1 parent bc36a1a commit 183d9a2
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,41 @@
"type": "STRING"
}
]
},{
"name": "DEBUG_with_Tests",
"generator": "Visual Studio 17 2022 Win64",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.BUILDROOT}",
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
"buildCommandArgs": "-m -v:minimal",
"variables": [
{
"name": "CMAKE_LIBRARY_PATH:PATH",
"value": "${env.BLAS_DIR}",
"type": "STRING"
},
{
"name": "HDF5_USE_STATIC_LIBRARIES",
"value": "1",
"type": "STRING"
},
{
"name": "BUILD_SHARED_LIBS",
"value": "0",
"type": "STRING"
},
{
"name": "BLA_VENDOR",
"value": "${env.BLAS_DEBUG}",
"type": "STRING"
},
{
"name": "CMAKE_BUILD_TYPE",
"value": "Debug",
"type": "STRING"
}
]
},
{
"name": "aRELEASE",
Expand Down Expand Up @@ -115,6 +150,42 @@
"type": "STRING"
}
]
},
{
"name": "RELEASE_with_Tests",
"generator": "Visual Studio 17 2022 Win64",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.BUILDROOT}",
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
"buildCommandArgs": "-m -v:minimal",
"variables": [
{
"name": "CMAKE_LIBRARY_PATH:PATH",
"value": "${env.BLAS_DIR}",
"type": "STRING"
},
{
"name": "HDF5_USE_STATIC_LIBRARIES",
"value": "1",
"type": "STRING"
},
{
"name": "BUILD_SHARED_LIBS",
"value": "0",
"type": "STRING"
},
{
"name": "BLA_VENDOR",
"value": "${env.BLAS_RELEASE}",
"type": "STRING"
},
{
"name": "CMAKE_BUILD_TYPE",
"value": "Release",
"type": "STRING"
}
]
}
]
}

0 comments on commit 183d9a2

Please sign in to comment.