blob: 6c79d4c68cb6ce98fa3d311b35d2d218b79182e8 (
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 NvBlastTk Linux
#
SET(BLASTTK_PLATFORM_COMMON_FILES
)
SET(BLASTTK_PLATFORM_INCLUDES
)
SET(BLASTTK_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(BLASTTK_LIBTYPE SHARED)
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(BLASTTK_PLATFORM_COMPILE_OPTIONS "-Wno-return-type-c-linkage" "-pedantic")
ELSE ()
SET(BLASTTK_PLATFORM_COMPILE_OPTIONS "-pedantic")
ENDIF()
|