summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-03-20 22:39:21 (GMT)
committerGitHub <noreply@github.com>2023-03-20 22:39:21 (GMT)
commitfd5d0944e23d0ba966e7244f9e3314b84cc45f30 (patch)
treeec7c054083dec36e454bcb203f8c11f08e18527e /java/test
parentb766e5f96f26805e8c92e718a05f42d073912711 (diff)
downloadhdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.zip
hdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.tar.gz
hdf5-fd5d0944e23d0ba966e7244f9e3314b84cc45f30.tar.bz2
[1.10 Merge] Add Developer build mode to CMake (#2617)
* Add Developer build mode to CMake (#1659) * Add Developer build mode to CMake * Set a few CMake variables for Developer build modes * Refactor enabling of debug and developer-level compile definitions * Convert cache debugging macros to normal ifdef style Normal ifdef-style instead of if-style allows build system to define macros without warning about redefining macros with different values (0 vs. 1) * Add HDF5 Developer compile definitions to testing files * Temporarily disable -fanalyzer flag for GCC 12+ Developer builds * Fix Java tests for Developer build modes (#2079) * Minor adjustment of Developer build mode changes for 1.10 branch
Diffstat (limited to 'java/test')
-rw-r--r--java/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/CMakeLists.txt b/java/test/CMakeLists.txt
index c25decae..e90ae8f 100644
--- a/java/test/CMakeLists.txt
+++ b/java/test/CMakeLists.txt
@@ -115,7 +115,7 @@ else ()
endif ()
get_property (target_name TARGET ${HDF5_JAVA_JNI_LIB_TARGET} PROPERTY OUTPUT_NAME)
-set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=${target_name}$<$<CONFIG:Debug>:${CMAKE_DEBUG_POSTFIX}>;")
+set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=${target_name}$<$<OR:$<CONFIG:Debug>,$<CONFIG:Developer>>:${CMAKE_DEBUG_POSTFIX}>;")
if (HDF5_TEST_JAVA AND HDF5_TEST_SERIAL)
foreach (test_file ${HDF5_JAVA_TEST_SOURCES})