-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca2d7a0
commit 15cc83a
Showing
19 changed files
with
681 additions
and
253 deletions.
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
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
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,32 @@ | ||
find_package(UDBM 2.0.13 QUIET) | ||
|
||
if (UDBM_FOUND) | ||
message(STATUS "Found UDBM: ${UDBM_DIR}") | ||
else(UDBM_FOUND) | ||
message(STATUS "Failed to find UDBM, going to compile from source.") | ||
if (FIND_FATAL) | ||
message(FATAL_ERROR "Failed to find UDBM with CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}") | ||
endif(FIND_FATAL) | ||
include(FetchContent) | ||
set(UDBM_WITH_TESTS OFF CACHE BOOL "UDBM tests") | ||
FetchContent_Declare( | ||
UDBM | ||
GIT_REPOSITORY https://github.com/UPPAALModelChecker/UDBM.git | ||
GIT_TAG v2.0.13 | ||
GIT_SHALLOW TRUE # get only the last commit version | ||
GIT_PROGRESS TRUE # show progress of download | ||
# FIND_PACKAGE_ARGS NAMES doctest | ||
USES_TERMINAL_DOWNLOAD TRUE # show progress in ninja generator | ||
USES_TERMINAL_CONFIGURE ON | ||
USES_TERMINAL_BUILD ON | ||
USES_TERMINAL_INSTALL ON | ||
) | ||
FetchContent_GetProperties(UDBM) | ||
if (udbm_POPULATED) | ||
message(STATUS "Found populated UUtils: ${uutils_SOURCE_DIR}") | ||
else (udbm_POPULATED) | ||
FetchContent_Populate(UDBM) | ||
add_subdirectory(${udbm_SOURCE_DIR} ${udbm_BINARY_DIR} EXCLUDE_FROM_ALL) | ||
message(STATUS "Got UDBM: ${udbm_SOURCE_DIR}") | ||
endif (udbm_POPULATED) | ||
endif(UDBM_FOUND) |
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,33 @@ | ||
find_package(UUtils 2.0.5 COMPONENTS base hash debug QUIET) | ||
|
||
if (UUtils_FOUND) | ||
message(STATUS "Found UUtils: ${UUtils_DIR}") | ||
else(UUtils_FOUND) | ||
message(STATUS "Failed to find UUtils, going to compile from source.") | ||
if (FIND_FATAL) | ||
message(FATAL_ERROR "Failed to find UUtils with CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}") | ||
endif(FIND_FATAL) | ||
include(FetchContent) | ||
set(UUtils_WITH_TESTS OFF CACHE BOOL "UUtils tests") | ||
set(UUtils_WITH_BENCHMARKS OFF CACHE BOOL "UUtils benchmarks") | ||
FetchContent_Declare( | ||
UUtils | ||
GIT_REPOSITORY https://github.com/UPPAALModelChecker/UUtils.git | ||
GIT_TAG v2.0.5 | ||
GIT_SHALLOW TRUE # get only the last commit version | ||
GIT_PROGRESS TRUE # show progress of download | ||
# FIND_PACKAGE_ARGS NAMES doctest | ||
USES_TERMINAL_DOWNLOAD TRUE # show progress in ninja generator | ||
USES_TERMINAL_CONFIGURE ON | ||
USES_TERMINAL_BUILD ON | ||
USES_TERMINAL_INSTALL ON | ||
) | ||
FetchContent_GetProperties(UUtils) | ||
if (uutils_POPULATED) | ||
message(STATUS "Found populated UUtils: ${uutils_SOURCE_DIR}") | ||
else (uutils_POPULATED) | ||
FetchContent_Populate(UUtils) | ||
add_subdirectory(${uutils_SOURCE_DIR} ${uutils_BINARY_DIR} EXCLUDE_FROM_ALL) | ||
message(STATUS "Got UUtils: ${uutils_SOURCE_DIR}") | ||
endif (uutils_POPULATED) | ||
endif(UUtils_FOUND) |
Oops, something went wrong.