| 1 |
#Copyright (c) Microsoft. All rights reserved. |
| 2 |
#Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
#this is CMakeLists for testtools. It does nothing, except loads other folders |
| 5 |
|
| 6 |
include("../configs/azure_c_shared_utilityFunctions.cmake") |
| 7 |
|
| 8 |
usePermissiveRulesForSamplesAndTests() |
| 9 |
|
| 10 |
if(NOT ${use_installed_dependencies}) |
| 11 |
if(MACOSX) |
| 12 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-strict-prototypes") |
| 13 |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-strict-prototypes") |
| 14 |
endif() |
| 15 |
if ((NOT TARGET ctest) AND (EXISTS ${CMAKE_CURRENT_LIST_DIR}/ctest/CMakeLists.txt)) |
| 16 |
add_subdirectory(ctest) |
| 17 |
endif() |
| 18 |
if ((NOT TARGET testrunnerswitcher) AND (EXISTS ${CMAKE_CURRENT_LIST_DIR}/testrunner/CMakeLists.txt)) |
| 19 |
add_subdirectory(testrunner) |
| 20 |
endif() |
| 21 |
endif() |
| 22 |
|
| 23 |
add_subdirectory(sal) |
| 24 |
add_subdirectory(micromock) |