forked from ornladios/ADIOS2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to do a static windows build in CI
- Loading branch information
1 parent
2d3198a
commit 5098882
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
set(ENV{CC} cl) | ||
set(ENV{CXX} cl) | ||
set(ENV{CFLAGS} /WX) | ||
set(ENV{CXXFLAGS} /WX) | ||
|
||
# Tests need to find hdf5.dll | ||
set(ENV{PATH} "$ENV{PATH};C:/hdf5/HDF5-1.14.2.1-win64/bin") | ||
|
||
set(dashboard_cache " | ||
BUILD_SHARED_LIBS=OFF | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=OFF | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_HDF5:STRING=ON | ||
ADIOS2_USE_Python:BOOL=OFF | ||
ADIOS2_USE_HDF5_VOL:STRING=OFF | ||
HDF5_ROOT:PATH=C:/hdf5/HDF5-1.14.2.1-win64 | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Visual Studio 17 2022") | ||
set(CTEST_CMAKE_GENERATOR_PLATFORM "x64") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |