-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the current toolchain for examples as default (#3810)
- Loading branch information
Showing
4 changed files
with
24 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 |
---|---|---|
|
@@ -29,6 +29,7 @@ set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY}) | |
#INSTALLDIR - HDF5 root folder | ||
#CTEST_CONFIGURATION_TYPE - Release, Debug, RelWithDebInfo | ||
#CTEST_SOURCE_NAME - name of source folder; HDF5Examples | ||
#CTEST_TOOLCHAIN_FILE - name and path in source of toolchain file | ||
if(DEFINED CTEST_SCRIPT_ARG) | ||
# transform ctest script arguments of the form | ||
# script.ctest,var1=value1,var2=value2 | ||
|
@@ -96,6 +97,12 @@ endif() | |
### default HDF5_PLUGIN_PATH to where the filter libraries are located | ||
set(ENV{HDF5_PLUGIN_PATH} "${INSTALLDIR}/lib/plugin") | ||
set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_PACKAGE_NAME:STRING=@HDF5_PACKAGE@@HDF_PACKAGE_EXT@") | ||
### use a toolchain file (supported everywhere) #### | ||
if(NOT DEFINED CTEST_TOOLCHAIN_FILE) | ||
set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=@CTEST_TOOLCHAIN_FILE@") | ||
else() | ||
set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=${CTEST_TOOLCHAIN_FILE}") | ||
endif() | ||
|
||
############################################################################################################### | ||
# For any comments please contact [email protected] | ||
|
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