azure-sdk-for-cpp/samples/helpers/service/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

23 lines
513 B
CMake

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