Skip to content

Commit

Permalink
Updated generator to sanitize documentation and to format it to javad…
Browse files Browse the repository at this point in the history
…oc style comments. Updated core target to properly propogate public definitions.
  • Loading branch information
JonathanHenson committed Feb 19, 2016
1 parent 7f4b08a commit dc9bb46
Show file tree
Hide file tree
Showing 6,687 changed files with 324,106 additions and 195,866 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 5 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -661,17 +661,6 @@ set(CMAKE_CONFIGURATION_TYPES
MinSizeRel # Like Release, but optimized for memory rather than speed.
)

# pass this flag to the jsoncpp amalgamated source
add_definitions(-DJSON_USE_EXCEPTION=0)

if(NOT PLATFORM_WINDOWS)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
if(NOT BUILD_SHARED_LIBS)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
endif()

# warning control
if(PLATFORM_WINDOWS)
if(MSVC)
Expand Down Expand Up @@ -710,7 +699,11 @@ if(PLATFORM_WINDOWS)
elseif(PLATFORM_LINUX OR PLATFORM_ANDROID OR PLATFORM_APPLE)
# max warning level, warnings are errors, turn off unused private field. We have one for an empty class.
# We also have some nested comments in the auto-generated member comments so turn that off as well
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wno-unused-private-field -Wno-comment")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wno-unused-private-field")
endif()

if(NOT PLATFORM_WINDOWS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
endif()

set(CORE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/aws-cpp-sdk-core/")
Expand Down
5 changes: 0 additions & 5 deletions aws-cpp-sdk-access-management/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ set(ACCESS_MANAGEMENT_INCLUDES

include_directories(${ACCESS_MANAGEMENT_INCLUDES})

if(NOT MSVC)
add_definitions(-std=c++11)
endif()

if(MSVC AND BUILD_SHARED_LIBS)
add_definitions("-DAWS_ACCESS_MANAGEMENT_EXPORTS")
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)
endif()

Expand Down
4 changes: 0 additions & 4 deletions aws-cpp-sdk-autoscaling/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ project(aws-cpp-sdk-autoscaling)

target_link_libraries(aws-cpp-sdk-autoscaling aws-cpp-sdk-core)

if(NOT MSVC)
add_definitions(-std=c++11)
endif()

#uncomment when unit tests are automatically generated
#add_test(run${metadata.namespace}Tests run${metadata.namespace}Tests)

Expand Down
1,834 changes: 1,202 additions & 632 deletions aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit dc9bb46

Please sign in to comment.