add_library(native_log STATIC) | |
target_sources(native_log | |
PRIVATE | |
log.h | |
springbok.h | |
"$ENV{ROOTDIR}/sw/vec/springbok/springbok.cpp" | |
) | |
target_include_directories(native_log | |
PUBLIC | |
"${CMAKE_CURRENT_SOURCE_DIR}" | |
) | |
target_compile_options(native_log | |
PRIVATE | |
"-Wall" | |
) | |
set_target_properties( | |
native_log | |
PROPERTIES | |
LINKER_LANGUAGE C | |
) |