mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
Remove obsolete target dependencies across modules. Remove 'cross' and 'unittests' targets. Refactor some remaining target dependencies to use board include macro. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
20 lines
475 B
CMake
20 lines
475 B
CMake
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 "")
|