基础架构系列篇-基于C++与CMAKE的跨平台编译
基本项目结构
-includes
----test
--------Test.h
// CMakeProject1.h: 标准系统包含文件的包含文件
// 或项目特定的包含文件。
#pragma once
#include <iostream>
// TODO: 在此处引用程序需要的其他标头。
void test();
----aws
--------core
--------s3
-libs
----test
--------test.lib
----aws
--------aws-cpp-sdk-core.lib
--------aws-cpp-sdk-core.dll
--------aws-cpp-sdk-s3.lib
--------aws-cpp-sdk-s3.dll
-src
----main
--------CMakeProject1.h
// CMakeProject1.h: 标准系统包含文件的包含文件
// 或项目特定的包含文件。
#pragma once
#include <iostream>
#include "test/Test.h"
// TODO: 在此处引用程序需要的其他标头。
#include <aws/core/http/HttpRequest.h>
#include <aws/s3/S3Client.h>
#include <aws/s3/model/CreateBucketRequest.h>
#include <aws/core/Aws.h>
#i