Files
MuditaOS/Target_Linux.cmake
Marcin Smoczyński 7c12b266f5 build: use unsigned char for linux target
Use same signdness of char for both linux and rt1051.
2020-05-22 16:15:15 +02:00

24 lines
556 B
CMake

set(PROJECT_TARGET "TARGET_Linux" CACHE INTERNAL "")
set(TARGET_SOURCES CACHE INTERNAL "")
set(TARGET_DIR_INCLUDES ${CMAKE_CURRENT_LIST_DIR}/board/linux CACHE INTERNAL "")
set(TARGET_COMPILE_FEATURES CACHE INTERNAL "")
set(TARGET_COMPILE_DEFINITIONS CACHE INTERNAL "")
add_compile_options(-fsanitize=address)
add_compile_options(-funsigned-char)
set(TARGET_LIBRARIES
rt
pthread
portaudio
CACHE INTERNAL "" )
add_link_options(-fsanitize=address)
set(CMAKE_STRIP strip CACHE INTERNAL "")
set(CMAKE_OBJCOPY objcopy CACHE INTERNAL "")