blob: 4f000efd3027bc47287016a2c2301a3f759062c2 (
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
|
#
# Build NvBlastExtSerialization Linux
#
SET(BLASTEXTSERIALIZATION_PLATFORM_COMMON_FILES
)
SET(BLASTEXTSERIALIZATION_PLATFORM_INCLUDES
)
SET(BLASTEXTSERIALIZATION_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(BLASTEXTSERIALIZATION_LIB_TYPE SHARED)
IF (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(BLASTEXTSERIALIZATION_COMPILE_OPTIONS "-Wno-sign-compare")
ELSE()
SET(BLASTEXTSERIALIZATION_COMPILE_OPTIONS "-Wno-sign-compare" "-Wno-unused-parameter" "-Wno-return-type-c-linkage")
ENDIF()
|