We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f2dc9b commit c2205c2Copy full SHA for c2205c2
examples/CMakeLists.txt
@@ -122,19 +122,6 @@ file(GLOB_RECURSE examples_headers
122
"*.hh"
123
)
124
125
-foreach(source ${api_examples_sources})
126
- add_examples_executable(${source} LIBRARIES mongocxx_target)
127
-
128
- # Silence warnings for common patterns in API examples.
129
- set_property (SOURCE ${source} APPEND PROPERTY COMPILE_OPTIONS
130
- # Allow unused variables.
131
- $<$<CXX_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-unused>
132
- $<$<CXX_COMPILER_ID:MSVC>:/wd4189>
133
134
- # Allow simpler switch statements.
135
- $<$<CXX_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-switch>
136
- )
137
-endforeach()
138
139
foreach(source ${bsoncxx_examples_sources})
140
add_examples_executable(${source} LIBRARIES bsoncxx_target)
0 commit comments