-
Notifications
You must be signed in to change notification settings - Fork 33
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
Showing
8 changed files
with
84 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# This file is part of the KDAB State Machine Editor Library. | ||
# | ||
# SPDX-FileCopyrightText: 2015-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# Author: Kevin Funk <[email protected]> | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor | ||
# | ||
# Licensees holding valid commercial KDAB State Machine Editor Library | ||
# licenses may use this file in accordance with the KDAB State Machine Editor | ||
# Library License Agreement provided with the Software. | ||
# | ||
# Contact [email protected] if any conditions of this licensing are not clear to you. | ||
# | ||
|
||
[submodule "3rdparty/graphviz"] | ||
path = 3rdparty/graphviz | ||
url = https://gitlab.com/graphviz/graphviz.git |
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,27 @@ | ||
# | ||
# This file is part of the KDAB State Machine Editor Library. | ||
# | ||
# SPDX-FileCopyrightText: 2015-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# Author: Kevin Funk <[email protected]> | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor | ||
# | ||
# Licensees holding valid commercial KDAB State Machine Editor Library | ||
# licenses may use this file in accordance with the KDAB State Machine Editor | ||
# Library License Agreement provided with the Software. | ||
# | ||
# Contact [email protected] if any conditions of this licensing are not clear to you. | ||
# | ||
|
||
if(WITH_INTERNAL_GRAPHVIZ) | ||
# Function creates extra scope to keep these variables local | ||
function(add_sonnet_subdirectory) | ||
#TODO check if there are unneeded features to disable | ||
|
||
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/graphviz/CMakeLists.txt") | ||
message(FATAL_ERROR "Please do git submodule update --init --recursive") | ||
endif() | ||
|
||
add_subdirectory(graphviz) | ||
endfunction() | ||
endif() |
Submodule graphviz
added at
7c8fe9
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,6 +13,16 @@ | |
# Contact [email protected] if any conditions of this licensing are not clear to you. | ||
# | ||
|
||
add_definitions( | ||
-DQT_NO_CAST_TO_ASCII | ||
-DQT_NO_CAST_FROM_ASCII | ||
-DQT_STRICT_ITERATORS | ||
-DQT_NO_URL_CAST_FROM_STRING | ||
-DQT_NO_CAST_FROM_BYTEARRAY | ||
-DQT_USE_QSTRINGBUILDER | ||
-DQT_USE_FAST_OPERATOR_PLUS | ||
) | ||
|
||
include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
|
||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-examples.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-examples.h) | ||
|
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,6 +13,16 @@ | |
# Contact [email protected] if any conditions of this licensing are not clear to you. | ||
# | ||
|
||
add_definitions( | ||
-DQT_NO_CAST_TO_ASCII | ||
-DQT_NO_CAST_FROM_ASCII | ||
-DQT_STRICT_ITERATORS | ||
-DQT_NO_URL_CAST_FROM_STRING | ||
-DQT_NO_CAST_FROM_BYTEARRAY | ||
-DQT_USE_QSTRINGBUILDER | ||
-DQT_USE_FAST_OPERATOR_PLUS | ||
) | ||
|
||
set(HAVE_GRAPHVIZ ${GRAPHVIZ_FOUND}) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-kdsme.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdsme.h) | ||
|
||
|
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