blob: 9029d2622e4259b0f1adac608dc38c19650e672d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# Build NvBlast Linux
#
SET(BLASTEXT_PLATFORM_COMMON_FILES
)
SET(BLASTEXT_PLATFORM_INCLUDES
)
SET(BLASTEXT_COMPILE_DEFS
# Common to all configurations
${BLAST_SLN_COMPILE_DEFS};
$<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
$<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
$<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
$<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
)
SET(BLASTEXT_PHYSX_LIBTYPE SHARED)
#-Wno-maybe-uninitialized doesn't work on Clang
IF (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "-Wno-unknown-pragmas" "-Wno-maybe-uninitialized")
ELSE()
SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "-Wno-unknown-pragmas" "-Wno-return-type-c-linkage")
ENDIF()
|