blob: a979cad0ca437b3b9ede3c6fbdebadcbbd83adae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
add_library(daw_core
src/dltools.c
src/logging.c
src/loop.c
src/memory.c
src/state.c
${GLAD_HEADER}
)
#set_property(SOURCE src/loop.c APPEND PROPERTY OBJECT_DEPENDS ${GLAD_HEADER})
target_compile_options(daw_core PUBLIC ${BUILD_OPTS})
target_include_directories(daw_core PRIVATE ${DAW_INCLUDE_DIRS})
target_link_libraries(daw_core PRIVATE cglm)
target_compile_definitions(daw_core PUBLIC
$<$<BOOL:${DAW_BUILD_HOTRELOAD}>:DAW_BUILD_HOTRELOAD>
)
|