Added usage examples in C; Added asm include file with track info to sointu-compile.

This commit is contained in:
Alexander Kraus
2023-08-28 22:19:40 +02:00
committed by Veikko Sariola
parent dff484739c
commit d0efcc3001
11 changed files with 407 additions and 11 deletions

View File

@ -99,11 +99,11 @@ add_library(${STATICLIB} ${sointuasm})
set_target_properties(${STATICLIB} PROPERTIES LINKER_LANGUAGE C)
target_include_directories(${STATICLIB} INTERFACE ${CMAKE_CURRENT_BINARY_DIR})
# We should put examples here
# add_subdirectory(examples)
# Examples are now available.
add_subdirectory(examples)
# Testing only available if this is the main app
# Emergency override 4KLANG_CMAKE_BUILD_TESTING provided as well
if((CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME OR SOINTU_CMAKE_BUILD_TESTING) AND BUILD_TESTING)
add_subdirectory(tests)
endif()
endif()