Lines Matching +full:build +full:- +full:appleclang
3 # ==== Define cmake build policies that affect compilation and linkage default behaviors
8 # JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION and CMAKE_VERSION (used for this build)
43 # Build the library with C++11 standard support, independent from other including
52 … "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Coverage.")
57 # ---------------------------------------------------------------------------
59 # ---------------------------------------------------------------------------
71 # 1. ./meson.build
85 option(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" ON)
92 option(BUILD_SHARED_LIBS "Build jsoncpp_lib as a shared library." ON)
93 option(BUILD_STATIC_LIBS "Build jsoncpp_lib as a static library." ON)
94 option(BUILD_OBJECT_LIBS "Build jsoncpp_lib as a object library." ON)
104 set(JSONCPP_USE_SECURE_MEMORY "0" CACHE STRING "-D...=1 to use memory-wiping allocator for STL")
116 add_compile_options(-Werror)
118 add_compile_options(-pedantic-errors)
136 # using regular Clang or AppleClang
137 add_compile_options(-Wall -Wconversion -Wshadow)
140 add_compile_options(-Werror=conversion -Werror=sign-compare)
144 add_compile_options(-Wall -Wconversion -Wshadow -Wextra)
145 # not yet ready for -Wsign-conversion
148 add_compile_options(-Wpedantic)
151 add_compile_options(-Werror=conversion)
155 add_compile_options(-Wall -Wconversion -Wshadow -Wextra)
158 add_compile_options(-Werror=conversion)
160 add_compile_options(-Wpedantic)
175 "pkg-config/jsoncpp.pc.in"
176 "pkg-config/jsoncpp.pc"
178 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pkg-config/jsoncpp.pc"
186 FILE jsoncpp-targets.cmake)
195 ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp-namespaced-targets.cmake
204 # Build the different applications