File tree Expand file tree Collapse file tree 5 files changed +97
-0
lines changed
ports/kdstatemachineeditor Expand file tree Collapse file tree 5 files changed +97
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO KDAB/KDStateMachineEditor
4
+ REF v${VERSION}
5
+ SHA512 dedd7166f434689cd5acf4ee3172169d3f77182269d3187f0a7a12966467dd5c7733e3ff64cd1fd03b0f3866c2aafa37cc3f2d7b8a3f4a5d8a7592da039de7af
6
+ HEAD_REF master
7
+ )
8
+
9
+ string (COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE} " "dynamic" VCPKG_BUILD_SHARED_LIBS)
10
+
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH ${SOURCE_PATH}
13
+ OPTIONS
14
+ -DKDSME_QT6=ON
15
+ -DKDSME_INTERNAL_GRAPHVIZ=OFF
16
+ -DKDSME_DOCS=OFF
17
+ -DKDSME_EXAMPLES=OFF
18
+ -DBUILD_TESTING=OFF
19
+ -DBUILD_SHARED_LIBS=${VCPKG_BUILD_SHARED_LIBS}
20
+ )
21
+
22
+ vcpkg_cmake_install()
23
+ vcpkg_copy_pdbs()
24
+ vcpkg_cmake_config_fixup(PACKAGE_NAME KDSME-qt6 CONFIG_PATH lib/cmake/KDSME-qt6)
25
+
26
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /share/doc" )
27
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
28
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/share" )
29
+
30
+ vcpkg_install_copyright(
31
+ FILE_LIST
32
+ "${SOURCE_PATH} /LICENSE.txt"
33
+ "${SOURCE_PATH} /LICENSES/BSD-3-Clause.txt"
34
+ "${SOURCE_PATH} /LICENSES/GPL-3.0-or-later.txt"
35
+ "${SOURCE_PATH} /LICENSES/LicenseRef-CISST.txt"
36
+ "${SOURCE_PATH} /LICENSES/LicenseRef-Qt-Commercial.txt"
37
+ "${SOURCE_PATH} /LICENSES/GPL-3.0-only.txt"
38
+ "${SOURCE_PATH} /LICENSES/LGPL-2.1-only.txt"
39
+ "${SOURCE_PATH} /LICENSES/LicenseRef-KDAB-KDStateMachineEditor.txt"
40
+ "${SOURCE_PATH} /LICENSES/MIT.txt"
41
+ )
42
+
43
+ file (INSTALL "${CMAKE_CURRENT_LIST_DIR} /usage" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} " )
Original file line number Diff line number Diff line change
1
+ kdstatemachineeditor provides CMake targets:
2
+
3
+ find_package(KDSME-qt6 CONFIG REQUIRED)
4
+ # Core library
5
+ target_link_libraries(main PRIVATE KDSME::Core)
6
+ # View library
7
+ target_link_libraries(main PRIVATE KDSME::View)
8
+ # Debug interface client library
9
+ target_link_libraries(main PRIVATE KDSME::DebugInterfaceClient)
10
+ # Debug interface server library
11
+ target_link_libraries(main PRIVATE KDSME::DebugInterfaceSource)
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " kdstatemachineeditor" ,
3
+ "version" : " 2.0.0" ,
4
+ "description" : " KDStateMachineEditor is a library for visualizing and editing state charts." ,
5
+ "homepage" : " https://github.com/KDAB/KDStateMachineEditor" ,
6
+ "license" : " LGPL-2.1-only" ,
7
+ "dependencies" : [
8
+ " graphviz" ,
9
+ " qt5compat" ,
10
+ {
11
+ "name" : " qtbase" ,
12
+ "default-features" : false ,
13
+ "features" : [
14
+ " testlib" ,
15
+ " widgets"
16
+ ]
17
+ },
18
+ " qtdeclarative" ,
19
+ " qtremoteobjects" ,
20
+ " qtscxml" ,
21
+ {
22
+ "name" : " vcpkg-cmake" ,
23
+ "host" : true
24
+ },
25
+ {
26
+ "name" : " vcpkg-cmake-config" ,
27
+ "host" : true
28
+ }
29
+ ]
30
+ }
Original file line number Diff line number Diff line change 3956
3956
"baseline" : " 2.2.0" ,
3957
3957
"port-version" : 1
3958
3958
},
3959
+ "kdstatemachineeditor" : {
3960
+ "baseline" : " 2.0.0" ,
3961
+ "port-version" : 0
3962
+ },
3959
3963
"kealib" : {
3960
3964
"baseline" : " 1.6.0" ,
3961
3965
"port-version" : 0
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " 698e2dfa9c5950117cc66ad7a800d692d8c9a99e" ,
5
+ "version" : " 2.0.0" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
You can’t perform that action at this time.
0 commit comments