mirror of
https://github.com/jrcutler/threadless.io.git
synced 2024-07-07 10:35:49 +00:00
Reorganize directory structure
This commit is contained in:
parent
d7e7bcdc88
commit
f6ef16f80f
@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5)
|
|||||||
|
|
||||||
set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Werror -std=c99")
|
set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Werror -std=c99")
|
||||||
|
|
||||||
add_library (coroutine lib/coroutine.c)
|
add_library (coroutine src/coroutine.c)
|
||||||
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
add_executable (test-coroutine test/coroutine.c)
|
add_executable (test-coroutine test/coroutine.c)
|
||||||
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
target_link_libraries (test-coroutine LINK_PUBLIC coroutine)
|
target_link_libraries (test-coroutine LINK_PUBLIC coroutine)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user