forked from phenomenalpotato/WebCoffeShop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
22 lines (16 loc) · 767 Bytes
/
CMakeLists.txt
File metadata and controls
22 lines (16 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Minimal CMakeLists.txt for the AWS SDK for C++.
cmake_minimum_required(VERSION 3.8)
# Use shared libraries, which is the default for the AWS C++ SDK build.
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
# "my-example" is just an example value.
project(gamer.cpp)
# Locate the AWS SDK for C++ package.
# "s3" and "cloudtrail" are just example values.
# find_package(AWSSDK REQUIRED COMPONENTS s3 cloudtrail)
find_package(AWSSDK REQUIRED COMPONENTS s3)
# The executable name and its sourcefiles.
add_executable(gamer gamer.cpp)
# Build using the C++ standard version 11.
target_compile_features(gamer PUBLIC cxx_std_11)
# The libraries used by your executable.
target_link_libraries(gamer ${AWSSDK_LINK_LIBRARIES} -lboost_thread -lboost_system -pthread)