-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
48 lines (41 loc) · 1020 Bytes
/
CMakeLists.txt
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cmake_minimum_required(VERSION 3.1)
project(PNG_MAPPER)
set(DEPS
png-lite/pnglite.h
png-lite/pnglite.c
zlib/adler32.c
zlib/compress.c
zlib/crc32.c
zlib/crc32.h
zlib/deflate.c
zlib/deflate.h
zlib/gzio.c
zlib/infback.c
zlib/inffast.c
zlib/inffast.h
zlib/inffixed.h
zlib/inflate.c
zlib/inflate.h
zlib/inftrees.c
zlib/inftrees.h
zlib/trees.c
zlib/trees.h
zlib/uncompr.c
zlib/zconf.h
zlib/zlib.h
zlib/zutil.c
zlib/zutil.h
)
set(SOURCES
src/main.cpp
src/Io.h
src/Io.cpp
src/Png.h
src/Png.cpp
src/Vector2.h
src/Vector2.cpp
src/Mapper.cpp src/Mapper.h)
add_executable(png-mapper ${SOURCES} ${DEPS})
target_include_directories(png-mapper PRIVATE png-lite zlib)
target_compile_features(png-mapper PUBLIC cxx_std_17)
target_link_libraries(png-mapper stdc++fs)