blob: c022fc35f8faa8fdcb23032c125bdffe51d3ea4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
cmake_minimum_required(VERSION 3.30.5)
project(kagamic VERSION 0.1 LANGUAGES C)
set(CMAKE_C_STANDARD 17)
add_executable(main
main.c
string.h string.c
memory.h memory.c
vec.h vec.c
json.h json.c
log.h log.c
)
target_link_libraries(main m)
target_compile_options(main PRIVATE -Wall -pedantic -Wextra)
add_executable(test
test.c
testing.h
string.h string.c
memory.h memory.c
vec.h vec.c
json.h json.c
log.h log.c
)
target_link_libraries(test m)
target_compile_options(test PRIVATE -Wall -pedantic -Wextra)
|