~aleteoryx/muditaos

ref: 5281f3d0c81d27dca99a0a01ef3e2c316c6c5f22 muditaos/Target_Linux.cmake -rw-r--r-- 475 bytes
5281f3d0 — Mateusz Grzegorzek [BH-836] Add missing items to Settings window 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set(PROJECT_TARGET "TARGET_Linux" CACHE INTERNAL "")

add_compile_options(-funsigned-char)

set(TARGET_LIBRARIES
    rt
    pthread
    portaudio
    CACHE INTERNAL "" )


option (LINUX_ENABLE_SANITIZER "Enable address sanitizer for Linux" ON)
if (LINUX_ENABLE_SANITIZER)
    add_compile_options(-fsanitize=address)
    add_link_options(-fsanitize=address)
endif (LINUX_ENABLE_SANITIZER)

set(CMAKE_STRIP strip CACHE INTERNAL "")
set(CMAKE_OBJCOPY objcopy CACHE INTERNAL "")