aboutsummaryrefslogtreecommitdiff
path: root/list/CMakeLists.txt
blob: 6e76ec65cb606fb4154b42e096ad09ef617c2d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.0)

project(list)

# Library

add_library(list INTERFACE)

target_include_directories(list INTERFACE
  include)

# Test

add_executable(list_test
  test/list_test.c)

target_link_libraries(list_test
  list)

target_compile_options(list_test PRIVATE -DUNIT_TEST -Wall -Wextra)