Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/testtools/sal/CMakeLists.txt

raw
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 cmake_minimum_required (VERSION 3.5)
5
6 #these are the include folders
7 #the following "set" statetement exports across the project a global variable called SAL_INC_FOLDER that expands to whatever needs to included when using sal header
8 if(WIN32)
9 #nothing use the default
10 set(SAL_INC_FOLDER "" CACHE INTERNAL "this is what needs to be included if using sal header" FORCE)
11 elseif(UNIX)
12 set(SAL_INC_FOLDER ${CMAKE_CURRENT_LIST_DIR}/inc CACHE INTERNAL "this is what needs to be included if using sal header" FORCE)
13 endif()
14
15 if(NOT WIN32)
16 add_files_to_install("./testtools/sal/inc/sal.h;./testtools/sal/inc/no_sal2.h")
17 endif()