-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following the conventions used in the other KD* repositories, use variables with a name that start with the project name. Renamed options: * BUILD_DOCS -> KDSME_DOCS * BUILD_EXAMPLES -> KDSME_EXAMPLES * BUILD_QT6 -> KDSME_QT6 * WITH_INTERNAL_GRAPHVIZ -> KDSME_INTERNAL_GRAPHVIZ * WITH_STATIC_GRAPHVIZ -> KDSME_STATIC_GRAPHVIZ Use standard cmake options instead of custom ones: * BUILD_STATIC -> BUILD_SHARED_LIBS * BUILD_TESTS -> BUILD_TESTING Cache entries are automatically updated.
- Loading branch information
Showing
21 changed files
with
137 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,12 @@ | |
# Contact [email protected] if any conditions of this licensing are not clear to you. | ||
# | ||
|
||
if(WITH_INTERNAL_GRAPHVIZ) | ||
if(KDSME_INTERNAL_GRAPHVIZ) | ||
# Function creates extra scope to keep these variables local | ||
function(add_graphviz_subdirectory) | ||
#TODO check if there are unneeded features to disable | ||
|
||
if(WITH_STATIC_GRAPHVIZ) | ||
if(KDSME_STATIC_GRAPHVIZ) | ||
set(BUILD_SHARED_LIBS OFF) | ||
endif() | ||
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/graphviz/CMakeLists.txt") | ||
|
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
Oops, something went wrong.