We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04340e8 commit c0044eaCopy full SHA for c0044ea
build/cmake/CMakeLists.txt
@@ -24,8 +24,4 @@ myci_declare_library(${PROJECT_NAME}
24
../../src/${PROJECT_NAME}
25
)
26
27
-# if the library is compiled by vcpkg during the port build,
28
-# then we don't need to build unit tests
29
-if(NOT IS_VCPKG_PORT_BUILD)
30
- include(unit_tests.cmake)
31
-endif()
+include(unit_tests.cmake)
build/cmake/unit_tests.cmake
@@ -1,3 +1,14 @@
1
+# if the library is compiled by vcpkg during the port build,
2
+# then we don't need to build unit tests
3
+if(IS_VCPKG_PORT_BUILD)
4
+ return()
5
+endif()
6
+
7
+# no unit tests for ios
8
+if(IOS)
9
10
11
12
set(test_srcs)
13
myci_add_source_files(test_srcs
14
DIRECTORY
0 commit comments