File tree Expand file tree Collapse file tree 6 files changed +70
-31
lines changed
Expand file tree Collapse file tree 6 files changed +70
-31
lines changed Original file line number Diff line number Diff line change 1+ xpcf|<version>|xpcf%XPCF_SHARED_DEPS|github|https://github.com/b-com-software-basis/xpcf/releases/download
2+ xpcf_static_deps|<version>|xpcf_static_deps%XPCF_STATIC_DEPS|github|https://github.com/b-com-software-basis/xpcf/releases/download
Original file line number Diff line number Diff line change 1+ ! exists (../version.pri ) {
2+ win32 {
3+ system (scripts/win/update_version.bat -t ../version.pri )
4+ }
5+ linux {
6+ system (scripts/unixes/update_version.sh -t ../version.pri )
7+ }
8+ system (cd $${currentPath} )
9+ }
10+ include (../version.pri )
111VERSION =$${XPCF_VERSION }
212
313CONFIG += c++1z
Original file line number Diff line number Diff line change 11TARGET = testxpcf
22
3- TEMPLATE_LIST_FILE =../version.pri packagedependencies.txt xpcf_registry_test.xml xpcf_xml_test_missing_end_tag.xml xpcf_xml_test_missing_start_tag.xml xpcf_xml_test_module_uuid_format_ko.xml xpcf_xml_test_property_type_invalid.xml xpcf_xml_test_property_unknown_component.xml xpcf_xml_test_unknown_component.xml xpcf_xml_test_unknown_property.xml xpcf_xml_test_valid.xml
4- PROJECT_ROOT_PATH =$$_PRO_FILE_PWD_ /..
5- include ($${PROJECT_ROOT_PATH}/generate_template_files.pri )
3+ LIST = " xpcf_registry_test.xml.template" " xpcf_xml_test_missing_end_tag.xml" " xpcf_xml_test_missing_start_tag.xml.template" " xpcf_xml_test_module_uuid_format_ko.xml.template" " xpcf_xml_test_property_type_invalid.xml.template" " xpcf_xml_test_property_unknown_component.xml.template" " xpcf_xml_test_unknown_component.xml.template" " xpcf_xml_test_unknown_property.xml.template" " xpcf_xml_test_valid.xml.template"
4+ for (file, LIST ) {
5+ ! exists (file ) {
6+ win32 {
7+ system (../scripts/win/update_version.bat )
8+ }
9+ linux {
10+ system (../scripts/unixes/update_version.sh )
11+ }
12+ break()
13+ }
14+ }
615
716CONFIG += shared
817DEPENDENCIESCONFIG = sharedlib recurse
Original file line number Diff line number Diff line change 11TARGET = testxpcf_static_deps
22
3- TEMPLATE_LIST_FILE =../version.pri packagedependencies.txt xpcf_registry_test.xml xpcf_xml_test_missing_end_tag.xml xpcf_xml_test_missing_start_tag.xml xpcf_xml_test_module_uuid_format_ko.xml xpcf_xml_test_property_type_invalid.xml xpcf_xml_test_property_unknown_component.xml xpcf_xml_test_unknown_component.xml xpcf_xml_test_unknown_property.xml xpcf_xml_test_valid.xml
4- PROJECT_ROOT_PATH =$$_PRO_FILE_PWD_ /..
5- include ($${PROJECT_ROOT_PATH}/generate_template_files.pri )
6-
7- CONFIG += shared
8- DEPENDENCIESCONFIG = staticlib recurse
3+ REMAKEN_PKGSUBDIR =shared
4+ DEPENDENCIESCONFIG -= sharedlib
5+ DEPENDENCIESCONFIG += recurse
96DEFINES += XPCF_STATIC_DEPS
107
118include (testxpcf.pri )
Original file line number Diff line number Diff line change 1- TARGET = xpcf
2- QT -= core gui
3- CONFIG -= app_bundle qt
4- FRAMEWORK = $${TARGET }
5-
6- # CONFIG += verbose
1+ TARGET = xpcf
2+
3+ !exists (version.pri ) {
4+ message ("$$TARGET - version.pri not present, generate it" )
5+ win32 {
6+ system (scripts/win/update_version.bat )
7+ }
8+ linux {
9+ system (scripts/unixes/update_version.sh )
10+ }
11+ }
712
8- TEMPLATE_LIST_FILE = version.pri
9- PROJECT_ROOT_PATH = $$_PRO_FILE_PWD_ /.
10- include ( $${PROJECT_ROOT_PATH}/generate_template_files.pri )
13+ include ( version.pri )
14+ QT -= core gui
15+ CONFIG -= app_bundle qt
1116
17+ FRAMEWORK = $${TARGET }
1218VERSION =$${XPCF_VERSION }
19+
1320DEFINES += XPCFVERSION =\ \\"$${VERSION}\\\"
1421
1522CONFIG += c++1z
16- CONFIG += staticlib recurse
23+ # CONFIG += verbose
1724!staticlib {
1825 CONFIG += shared
1926} else {
2027 CONFIG -= shared
2128}
2229# message($${CONFIG})
30+ # CONFIG += verbose
2331
2432# Uncomment following line to prepare remaken package
2533# CONFIG += package_remaken
@@ -207,8 +215,6 @@ macx {
207215win32 {
208216 DEFINES += _X86_VC12_TARGET_
209217 DEFINES += MBCS _MBCS
210-
211-
212218 }
213219
214220INCLUDEPATH += $${PWD } $${PWD }/interfaces
Original file line number Diff line number Diff line change 1- TARGET = xpcf_static_deps
1+ !exists (version.pri ) {
2+ message ("$$TARGET - version.pri not present, generate it" )
3+ win32 {
4+ system (scripts/win/update_version.bat )
5+ }
6+ linux {
7+ system (scripts/unixes/update_version.sh )
8+ }
9+ }
10+
11+ include (version.pri )
12+ VERSION =$${XPCF_VERSION }
13+
214QT -= core gui
315CONFIG -= app_bundle qt
16+ TARGET = xpcf_static_deps
417FRAMEWORK = $${TARGET }
518
6- # CONFIG += verbose
7-
8- TEMPLATE_LIST_FILE =version.pri
9- PROJECT_ROOT_PATH =$$_PRO_FILE_PWD_ /.
10- include ($${PROJECT_ROOT_PATH}/generate_template_files.pri )
11-
12- VERSION =$${XPCF_VERSION }
1319DEFINES += XPCFVERSION =\ \\"$${VERSION}\\\"
1420
1521CONFIG += c++1z
16- CONFIG += shared
22+ # CONFIG += staticlib
23+ # CONFIG += verbose
24+ # !staticlib {
25+ CONFIG += shared
26+ # } else {
27+ # CONFIG -= shared
28+ # }
29+ # message($${CONFIG})
30+ # CONFIG += verbose
1731
1832# Uncomment following line to prepare remaken package
1933# CONFIG += package_remaken
2034
2135DEFINES += WITHREMOTING
2236DEFINES += XPCF_USE_BOOST
37+
2338DEFINES += XPCF_SHARED
24- DEPENDENCIESCONFIG = staticlib
39+ DEPENDENCIESCONFIG = staticlib # sharedlib
2540REMAKEN_PKGSUBDIR =shared
2641
2742CONFIG (debug ,debug |release ) {
You can’t perform that action at this time.
0 commit comments