File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.16.3 )
1+ cmake_minimum_required (VERSION 3.22.1 )
22
33if (NOT CMAKE_CXX_STANDARD)
44 set (CMAKE_CXX_STANDARD 14) # Supported values are ``14``, ``17`` and ``20``.
@@ -10,9 +10,13 @@ if(NOT CMAKE_CXX_EXTENSIONS)
1010 set (CMAKE_CXX_EXTENSIONS OFF )
1111endif ()
1212
13- ## If building external to ITK, we need to capture
14- ## required build setting from ITK prior to calling
15- ## project()
13+ project (PerformanceBenchmarking
14+ VERSION 0.9.0
15+ DESCRIPTION
16+ "Real-world tests to benchmark ITK performance."
17+ HOMEPAGE_URL "https://github.com/InsightSoftwareConsortium/ITKPerformanceBenchmarking"
18+ LANGUAGES CXX C
19+ )
1620if (NOT ITK_SOURCE_DIR)
1721 find_package (ITK REQUIRED)
1822 list (APPEND CMAKE_MODULE_PATH ${ITK_CMAKE_DIR} )
@@ -27,19 +31,15 @@ if(NOT ITK_SOURCE_DIR)
2731 endif ()
2832 endforeach ()
2933
30-
3134 # Set a default build type if none was specified
3235 if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
3336 message (STATUS "Setting build type to 'Release' as none was specified." )
3437 set (CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
3538 # Set the possible values of build type for cmake-gui
3639 set_property (CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo" )
3740 endif ()
38- enable_language (C)
39- enable_language (CXX)
4041endif ()
4142
42- project (PerformanceBenchmarking)
4343
4444set (PerformanceBenchmarking_LIBRARIES PerformanceBenchmarking)
4545
You can’t perform that action at this time.
0 commit comments