Lines Matching +full:- +full:dnominmax
5 # On Windows we use custom solution and project files, except for certain third-
6 # party projects which use CMake-generated ones. They are manually (re)generated
8 # repository. Therefore they should not be auto-regenerated and left using
51 "default, even for 64-bit targets. This can result in linker "
52 "instability and out of memory errors. To use the 64-bit "
53 "host compiler, pass -Thost=x64 on the CMake command line.")
86 set(REACTOR_BACKEND ${DEFAULT_REACTOR_BACKEND} CACHE STRING "JIT compiler back-end used by Reactor")
113 Running 'git submodule update --init' to download it:
116 execute_process(COMMAND git submodule update --init)
146 …set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--version-script=${DIR}/${TA…
150 … set_property(TARGET ${TARGET} APPEND_STRING PROPERTY COMPILE_FLAGS " -fvisibility=protected")
153 # MIPS supports sysv hash-style only.
154 set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--hash-style=sysv")
156 # Both hash-style are needed, because we want both gold and
158 set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--hash-style=both")
163 set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--gc-sections")
167 set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--no-undefined")
187 set(LLVM_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/llvm-7.0/llvm)
188 set(LLVM_CONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/llvm-7.0/configs)
191 set(SUBZERO_LLVM_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/llvm-subzero)
209 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
210 add_definitions(-D_SBCS) # Single Byte Character Set (ASCII)
212 set_cpp_flag("--std=c++11")
213 set_cpp_flag("-Wall")
214 set_cpp_flag("-Werror=reorder")
215 set_cpp_flag("-Werror=sign-compare")
216 set_cpp_flag("-Werror=missing-braces")
217 set_cpp_flag("-fno-exceptions")
221 set_cpp_flag("-Werror=unused-lambda-capture")
226 set_cpp_flag("-fno-operator-names")
229 set_cpp_flag("-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS")
232 set_cpp_flag("-m32")
233 set_cpp_flag("-msse2")
234 set_cpp_flag("-mfpmath=sse")
235 set_cpp_flag("-march=pentium4")
236 set_cpp_flag("-mtune=generic")
239 set_cpp_flag("-m64")
240 set_cpp_flag("-fPIC")
241 set_cpp_flag("-march=x86-64")
242 set_cpp_flag("-mtune=generic")
245 set_cpp_flag("-march=mips32r2")
246 set_cpp_flag("-fPIC")
247 set_cpp_flag("-mhard-float")
248 set_cpp_flag("-mfp32")
251 set_cpp_flag("-march=mips64r2")
252 set_cpp_flag("-mabi=64")
253 set_cpp_flag("-fPIC")
257 set_cpp_flag("-DUSE_X11=1")
260 # Use -g3 to have even more debug info
261 set_cpp_flag("-g -g3" DEBUG)
262 set_cpp_flag("-g -g3" RELWITHDEBINFO)
265 set_cpp_flag("-s" RELEASE)
269 set_cpp_flag("-Os" RELEASE)
270 set_cpp_flag("-Os" RELWITHDEBINFO)
272 set_cpp_flag("-DNDEBUG" RELEASE)
273 set_cpp_flag("-DNDEBUG" RELWITHDEBINFO)
274 set_cpp_flag("-DANGLE_DISABLE_TRACE" RELEASE)
275 set_cpp_flag("-DANGLE_DISABLE_TRACE" RELWITHDEBINFO)
278 # with -gc-sections unused functions and variables are removed.
279 set_cpp_flag("-ffunction-sections" RELEASE)
280 set_cpp_flag("-fdata-sections" RELEASE)
281 set_cpp_flag("-fomit-frame-pointer" RELEASE)
285 set_cpp_flag("-fsanitize=memory")
287 set_cpp_flag("-fsanitize=address")
289 set_cpp_flag("-fsanitize=thread")
291 …set_cpp_flag("-fsanitize=undefined -fsanitize-blacklist=${CMAKE_CURRENT_SOURCE_DIR}/third_party/LL…
297 add_definitions(-DWINVER=0x501 -DNOMINMAX -DSTRICT)
306 add_definitions(-DREACTOR_LLVM_VERSION=${REACTOR_LLVM_VERSION})
664 set(LLVM_INCLUDE_DIR ${LLVM_DIR}/include-linux)
666 set(LLVM_INCLUDE_DIR ${LLVM_DIR}/include-osx)
1855 ${SUBZERO_DIR}/pnacl-llvm/include/
2148 COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:libEGL>/translator
2149 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libEGL> $<TARGET_FILE_DIR:libEGL>/translator/${LIB_…
2150 … COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/out/${CMAKE_SYSTEM_NAME}/
2151 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libEGL> ${CMAKE_CURRENT_SOURCE_DIR}/out/${CMAKE_SYS…
2168 COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:libGLESv2>/translator
2169 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libGLESv2> $<TARGET_FILE_DIR:libGLESv2>/translator/…
2170 … COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/out/${CMAKE_SYSTEM_NAME}/
2171 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libGLESv2> ${CMAKE_CURRENT_SOURCE_DIR}/out/${CMAKE_…
2188 COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:libGLES_CM>/translator
2189 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libGLES_CM> $<TARGET_FILE_DIR:libGLES_CM>/translato…
2194 # This variable is also used by SPIRV-Tools to locate SPIRV-Headers
2195 set(SPIRV-Headers_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/SPIRV-Headers")
2196 list(APPEND VULKAN_INCLUDE_DIR "${SPIRV-Headers_SOURCE_DIR}/include")
2198 add_subdirectory(third_party/SPIRV-Tools)
2208 target_link_libraries(libvk_swiftshader ${Reactor} ${OS_LIBS} SPIRV-Tools SPIRV-Tools-opt)
2212 COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:libvk_swiftshader>/translator
2213 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libvk_swiftshader> $<TARGET_FILE_DIR:libvk_swiftsha…
2214 … COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/out/${CMAKE_SYSTEM_NAME}/
2215 …COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:libvk_swiftshader> ${CMAKE_CURRENT_SOURCE_DIR}/out/…
2261 ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googletest/googletest/src/gtest-all.cc
2286 ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googletest/googletest/src/gtest-all.cc