diff options
| author | 3gg <3gg@shellblade.net> | 2023-06-12 08:52:15 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2023-06-12 08:52:15 -0700 |
| commit | bfabb435e5c5bf313005c4636747fce59eb4ca6f (patch) | |
| tree | a32248966dd2cfa851a1bc731c3b240ebfaf9110 /list/CMakeLists.txt | |
| parent | 0c1eb2535676a6fb2e1def08f9681b2a8b49f6e4 (diff) | |
Add list library.
Diffstat (limited to 'list/CMakeLists.txt')
| -rw-r--r-- | list/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/list/CMakeLists.txt b/list/CMakeLists.txt index 8caeabc..6e76ec6 100644 --- a/list/CMakeLists.txt +++ b/list/CMakeLists.txt | |||
| @@ -4,14 +4,11 @@ project(list) | |||
| 4 | 4 | ||
| 5 | # Library | 5 | # Library |
| 6 | 6 | ||
| 7 | add_library(list | 7 | add_library(list INTERFACE) |
| 8 | src/list.c) | ||
| 9 | 8 | ||
| 10 | target_include_directories(list PUBLIC | 9 | target_include_directories(list INTERFACE |
| 11 | include) | 10 | include) |
| 12 | 11 | ||
| 13 | target_compile_options(list PRIVATE -Wall -Wextra) | ||
| 14 | |||
| 15 | # Test | 12 | # Test |
| 16 | 13 | ||
| 17 | add_executable(list_test | 14 | add_executable(list_test |
