azure-sdk-for-cpp/samples/helpers/get-env/CMakeLists.txt
Anton Kolesnyk 0f62b3aa63
Add consumption-time value of __cplusplus to User-Agent (#5662)
* Add consumption-time value of __cplusplus to User-Agent

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-29 18:31:51 -07:00

21 lines
476 B
CMake

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
cmake_minimum_required (VERSION 3.12)
project(get-env-helper LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(
get-env-helper
OBJECT
inc/get_env.hpp
src/get_env.cpp
)
target_compile_definitions(get-env-helper PRIVATE _azure_BUILDING_SAMPLES)
target_include_directories(get-env-helper PUBLIC inc)