mirror of
https://github.com/jrcutler/threadless.io.git
synced 2024-07-07 10:35:49 +00:00
Build cleanup
This commit is contained in:
parent
784a33ca26
commit
de21496f51
@ -4,9 +4,7 @@ set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Werror -std=c99")
|
||||
|
||||
add_library (coroutine src/coroutine.c)
|
||||
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_library (allocator src/default_allocator.c)
|
||||
target_include_directories (allocator PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
add_executable (test-coroutine test/coroutine.c)
|
||||
add_executable (test-coroutine test/coroutine.c src/default_allocator.c)
|
||||
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_link_libraries (test-coroutine LINK_PUBLIC allocator coroutine)
|
||||
target_link_libraries (test-coroutine LINK_PUBLIC coroutine)
|
||||
|
Loading…
Reference in New Issue
Block a user