forked from jossk/c--sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (42 loc) · 1015 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.10)
project(c__sphinx)
set(CMAKE_CXX_STANDARD 14)
include_directories(src)
find_package (Boost REQUIRED COMPONENTS filesystem system)
include_directories(${Boost_INCLUDE_DIR})
set(SOURCE_FILES
src/asm.h
src/asm_name.h
src/asmnemon.h
src/class.cpp
src/coff.h
src/const.h
src/debug.cpp
src/dirlist.h
src/disasm.cpp
src/errors.cpp
src/id.h
src/le.h
src/libobj.cpp
src/main.cpp
src/misc.cpp
src/new_type.cpp
src/optreg.cpp
src/outle.cpp
src/outobj.cpp
src/outpe.cpp
src/pointer.cpp
src/struct.h
src/switch.cpp
src/table.h
src/tok.h
src/toka.cpp
src/tokb.cpp
src/tokc.cpp
src/toke.cpp
src/tokr.cpp
src/res.cpp
src/res.h
src/resname.h)
add_executable(c-- ${SOURCE_FILES})
target_link_libraries(c-- ${Boost_LIBRARIES})