diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-06-09 09:07:48 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-06-09 09:12:52 +0200 |
commit | d0cca976be6fb90f3724911c8a124bce56b3c5f9 (patch) | |
tree | 96c92dc695f81b39227fb5f52e4c2ac469fea06b /CMakeLists.txt | |
parent | 7df71001ef1a9ea271ae3c409a367d6c2dd628b7 (diff) |
Restructuring the main API and project
This commit rewrites pretty much the entire library. It is now much
smaller and more maintainable (split over multiple files). It will now
also support more features (that aren't implemented yet).
Adding two examples to show how to use the new API. Also changing the
name of the library everywhere.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c68025a..5ab2f46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,11 +3,16 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c11") set(CMAKE_BUILD_TYPE Debug) project(bowl) -add_library(bowl SHARED bowl.c) +add_library(bowl SHARED bowl.c + data.c + utils.c + array.c) target_include_directories(bowl PUBLIC ".") -################### TESTING CODE BELOW ################### +################### EXAMPLES ################### +add_executable(ex_tree examples/tree.c) +target_link_libraries(ex_tree bowl) -add_executable(bowl_test main.c) -target_link_libraries(bowl_test bowl)
\ No newline at end of file +add_executable(ex_list examples/list.c) +target_link_libraries(ex_list bowl)
\ No newline at end of file |