assimp/assimp
CMakeLists.txt
:320
ADD_COMPILE_OPTIONS("$<$<COMPILE_LANGUAGE:CXX>:-Wno-dangling-reference>")
ADD_COMPILE_OPTIONS("$<$<COMPILE_LANGUAGE:CXX>:-Wno-dangling-reference>")
add_compile_options(/W4)
add_compile_options(/W4)
add_compile_options(/bigobj /W3 /WX)
add_compile_options("-Wa,-mbig-obj")
add_compile_options(--sysroot=${CROSS_ROOTFS})
add_compile_options(-Wno-unreachable-code)
add_compile_options(-fstack-protector)
add_compile_options(/EHa) # enable C++ EH (w/ SEH exceptions)
add_compile_options(/Zm200) # Specify Precompiled Header Memory Allocation Limit of 150MB
add_compile_options(-g -O0)
add_compile_options($<$<CONFIG:Debug>:-DFEATURE_GC_STRESS>)
add_compile_options(-Wno-unused-variable)
add_compile_options(-Qunused-arguments)
add_compile_options(
"$<$<COMPILE_LANG_AND_ID:C,GNU>:-march=native;-mtune=native>"
"$<$<COMPILE_LANG_AND_ID:Fortran,GNU>:-march=native;-mtune=native;-fbacktrace;-ffree-line-length-none;-ffree-form;-std=f2008;-fimplicit-none;-Werror=aliasing;-Werror=ampersand;-Werror=c-binding-type;-Werror=conversion;-Werror=intrinsic-shadow;-Werror=intrinsics-std;-Werror=line-truncation;-Werror=tabs;-Werror=target-lifetime;-Werror=underflow;-Werror=unused-but-set-variable;-Werror=unused-variable>"
"$<$<AND:$<COMPILE_LANG_AND_ID:Fortran,GNU>,$<VERSION_GREATER_EQUAL:${CMAKE_Fortran_COMPILER_VERSION},11>>:-fallow-argument-mismatch>"
"$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:-free -stand=f18 -fpp -heap-arrays>"
"$<$<COMPILE_LANG_AND_ID:Fortran,PGI>:-Mfreeform -Mextend -Mallocatable=03>"
"$<$<COMPILE_LANG_AND_ID:Fortran,NAG>:-f2008 -free -Warn=reallocation -Warn=subnormal>"
"$<$<COMPILE_LANG_AND_ID:C,Cray>:-hnoacc -h nomessage=1234>"
"$<$<COMPILE_LANG_AND_ID:Fortran,Cray>:-f free -M3105 -ME7212 -hnoacc -M1234>"
)
add_compile_options(-Werror)
add_compile_options(-Wfloat-equal) # Floating values used in equality comparisons
#add_compile_options(-Wlogical-op) # doesn't work on older GCC
add_compile_options(-pipe)
add_compile_options(-gdwarf-4)
add_compile_options(-Wno-sign-compare)
add_compile_options(-Wno-c++98-compat-pedantic)
add_compile_options(/W4) # Warning Level
add_compile_options($<$<CONFIG:Debug>:/GS>) # Enable Security Check
add_compile_options(/wd4251) # warning C4251: 'x': class 'y' needs to have dll-interface to be used by clients of struct 'u'
add_compile_options(-fno-sanitize-recover=all)
add_compile_options(/W4 /WX)
add_compile_options(/W4 /WX)
add_compile_options(-Wno-free-nonheap-object)
add_compile_options(-Wno-alloc-size-larger-than)
add_compile_options(-D_GLIBCXX_ASSERTIONS)
add_compile_options ( -mms-bitfields )
add_compile_options(-Wno-inconsistent-missing-override)
add_compile_options(-Wno-pedantic) # needed for vtk headers
add_compile_options(-Werror)
add_compile_options(/Os /GR-)
add_compile_options(-Wno-unused-variable -Wno-unused-const-variable)
add_compile_options(/MP) #build with multiple processors
add_compile_options(${WARNFLAGS} ${WARNFLAGS_MAINTAINER} ${WARNFLAGS_DISABLE})
add_compile_options($<$<CONFIG:Debug>:-DZLIB_DEBUG>)
add_compile_options(/W4)
add_compile_options(/W4)
add_compile_options(/W4)
add_compile_options(/Zf)
add_compile_options(/W3)
add_compile_options( /W4;$<$<BOOL:${KTX_WERROR}>:/WX> )
add_compile_options( $<$<CXX_COMPILER_ID:MSVC>:/utf-8> )
add_compile_options("/wd4324")
add_compile_options(/wd4267)
add_compile_options(/wd4267)
add_compile_options(/EHsc)
add_compile_options(/wd5045)
add_compile_options("$<$<CONFIG:Debug>:/W4;/DDEBUG>")
add_compile_options(
-Weverything
-Wno-c++98-compat-pedantic
-Wno-c++11-compat-pedantic
-Wno-padded
-Wno-alloca
-Wno-global-constructors
-Wno-exit-time-destructors
-Wno-weak-vtables
-Wno-return-std-move-in-c++11
-Wno-unsafe-buffer-usage
-Wno-unknown-warning-option
-Wno-switch-default
)
add_compile_options(
/W4
# C4251: 'identifier' : class 'type' needs to have dll-interface to be
# used by clients of class 'type2'
/wd4251
# C4268: 'identifier' : 'const' static/global data initialized
# with compiler generated default constructor fills the object with zeros
/wd4268
# C4275: non DLL-interface classkey 'identifier' used as base for
# DLL-interface classkey 'identifier'
/wd4275
# C4373: virtual function overrides, previous versions of the compiler
# did not override when parameters only differed by const/volatile qualifiers
/wd4373
# C4503: 'identifier': decorated name length exceeded, name was truncated
/wd4503
)
add_compile_options(-march=armv7-a)
add_compile_options(-mfloat-abi=hard)
add_compile_options(
-Wall
-Wextra
-pedantic
$<$<BOOL:${LIBUTP_ENABLE_WERROR}>:-Werror>)
add_compile_options(
/W4
/wd4244 # '...': conversion from '...' to '...', possible loss of data
/wd4267 # '...': conversion from '...' to '...', possible loss of data
$<$<BOOL:${LIBUTP_ENABLE_WERROR}>:/WX>)
add_compile_options(/W4)
add_compile_options(/WX)
add_compile_options(/W4)
add_compile_options(
"$<$<COMPILE_LANGUAGE:CXX>:/d1trimfile:${NATIVE_TBB_PROJECT_ROOT_DIR}\\>"
"$<$<COMPILE_LANGUAGE:CXX>:/d1trimfile:${CMAKE_SOURCE_DIR}/>")
add_compile_options(/W4)
add_compile_options(/W4)
add_compile_options(-fexceptions -fstrict-aliasing)
add_compile_options(-fsanitize=address -fno-omit-frame-pointer)
add_compile_options(/WX)
add_compile_options("-Wa,-mbig-obj")
add_compile_options(-fsanitize=${supported_checks})
add_compile_options(-fno-sanitize=alignment)
add_compile_options ("-Wno-overloaded-virtual")
add_compile_options ("-Wno-unused-local-typedefs")
add_compile_options ("-Wno-overriding-t-option")
add_compile_options ("/fp:fast")
add_compile_options ("-fno-fast-math")
add_compile_options ("-ffp-contract=off")
add_compile_options("-fno-reciprocal-math")
add_compile_options ("-fno-math-errno")
add_compile_options ("-Wno-overriding-t-option")
add_compile_options ("-ffp-contract=off")
add_compile_options("$<$<COMPILE_LANG_AND_ID:CXX,MSVC>:/Zc:inline>")
add_compile_options("$<$<COMPILE_LANG_AND_ID:CXX,Clang,AppleClang>:-Wover-aligned>")
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/std:c++17> $<$<COMPILE_LANGUAGE:CXX>:/Zc:__cplusplus> /permissive- /utf-8 /we4287 /W4)
add_compile_options("$<$<COMPILE_LANGUAGE:C>:${PROJ_C_WARN_FLAGS}>")
add_compile_options(/bigobj /W4 /wd5054 /wd4127 /wd4702)
add_compile_options(/W4)
add_compile_options(/analyze- /bigobj)
add_compile_options(-pedantic-errors)
add_compile_options($<$<CONFIG:Debug>:/W4>)
add_compile_options(-pedantic)
add_compile_options(-W3)
add_compile_options(/wd4244 /wd4267 /wd4312)
add_compile_options(-Wno-ignored-attributes)
add_compile_options(/permissive- /Zc:__cplusplus /Zc:preprocessor /MP /vmg)
add_compile_options(-Wall -Wextra -O0 -g)
add_compile_options(/permissive- /Zc:__cplusplus /Zc:preprocessor /MP /Od /vmg)
add_compile_options(/W4 /bigobj /wd4127)
add_compile_options("/wd4305")
add_compile_options(/bigobj)