Skip to content

Commit b7675d3

Browse files
committed
[unittests]Utilize the -no-sync/async/async-jobs arguments to speed up the build
1 parent dc3c1cc commit b7675d3

File tree

37 files changed

+40
-10
lines changed

37 files changed

+40
-10
lines changed

unittests/QSharedPointer_include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
set(QSharedPointer_include_SRCS test_qsharedpointer_include.cpp)
1515

16+
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)
1617
set(WSDL_FILES test_qsharedpointer_include_wsdl.wsdl)
1718

1819
add_unittest(${QSharedPointer_include_SRCS})

unittests/date_example/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
##
1313

1414
set(date_example_SRCS date_example.cpp)
15+
set(KSWSDL2CPP_OPTION -no-async -no-sync)
1516
set(WSDL_FILES date_example.wsdl)
1617
add_unittest(${date_example_SRCS})

unittests/default_attribute_value_wsdl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313

1414
set(default_attribute_value_wsdl_SRCS default_attribute_value_wsdl.cpp)
1515
set(WSDL_FILES default_attribute_value.wsdl)
16-
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional)
16+
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional -no-sync -no-async -no-async-jobs)
1717
add_unittest(${default_attribute_value_wsdl_SRCS})

unittests/dv_terminalauth/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
##
1313

1414
set(dv_terminalauth_SRCS dv_terminalauth.cpp)
15+
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
1516
set(WSDL_FILES WS_DV_TerminalAuth.wsdl)
1617
add_unittest(${dv_terminalauth_SRCS})

unittests/dwservice_12_wsdl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
project(dwservice_12_wsdl)
1515

16-
set(KSWSDL2CPP_OPTION -namespace KDAB)
16+
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)
1717

1818
set(WSDL_FILES DWService_12.wsdl)
1919
set(dwservice_12_wsdl_SRCS test_dwservice_12_wsdl.cpp)

unittests/dwservice_combined_wsdl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
##
1313

1414
project(dwservice_combined_wsdl)
15-
set(KSWSDL2CPP_OPTION -namespace KDAB)
15+
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)
1616

1717
set(WSDL_FILES DWServiceCombined.wsdl)
1818
set(dwservice_combined_wsdl_SRCS test_dwservice_combined_wsdl.cpp)

unittests/dwservice_wsdl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
##
1313

1414
project(dwservice_wsdl)
15-
set(KSWSDL2CPP_OPTION -namespace KDAB)
15+
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)
1616

1717
set(WSDL_FILES DWService.wsdl)
1818
set(dwservice_wsdl_SRCS test_dwservice_wsdl.cpp)

unittests/element_ns_wsdl/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
##
1313

1414
set(element_ns_wsdl_SRCS testcall.cpp)
15+
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
1516
set(WSDL_FILES test.wsdl)
1617
add_unittest(${element_ns_wsdl_SRCS})
1718

unittests/empty_element_wsdl/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
##
1313

1414
set(empty_element_wsdl_SRCS empty_element_wsdl.cpp)
15+
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs -no-sync)
1516
set(WSDL_FILES empty_element.wsdl)
1617
add_unittest(${empty_element_wsdl_SRCS})

unittests/empty_list_wsdl/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
##
1313

1414
set(empty_list_wsdl_SRCS empty_list_wsdl.cpp)
15+
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs -no-sync)
1516
set(WSDL_FILES empty_list.wsdl)
1617
add_unittest(${empty_list_wsdl_SRCS})

0 commit comments

Comments
 (0)