-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
61 lines (39 loc) · 1.29 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
cmake_minimum_required(VERSION 3.20.0)
project(Vgenerator VERSION 1.0.0)
# add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)
include_directories(../)
add_definitions(-DPROJECT_ROOT_DIR="${CMAKE_SOURCE_DIR}")
set(BUILD_SHARED_LIBS ON)
find_package(Boost REQUIRED COMPONENTS system filesystem serialization)
include_directories(${Boost_INCLUDE_DIRS})
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
include_directories(${Python3_INCLUDE_DIRS})
link_directories(${Python3_LIBRARIES})
# #python3-config --includes
# include_directories("/usr/include/python3.10")
# #python3-config --ldflags
# link_directories("/usr/lib/python3.10/config-3.10-x86_64-linux-gnu")
add_subdirectory(ActionMutateLead)
add_subdirectory(Discription)
add_subdirectory(EDAExecuter)
add_subdirectory(Generator)
# # add_subdirectory(HDLProgramSets)
add_subdirectory(lib)
add_subdirectory(MRVerify)
# add_subdirectory(Test)
aux_source_directory(. DIR_VGENERATOR_SOURCE)
add_executable(Vgenerator ${DIR_VGENERATOR_SOURCE})
target_link_libraries(Vgenerator
${Boost_LIBRARIES}
Python3::Python
# -lpython3.10
LIB_ACTIONMUTATELEAD
LIB_DISCRIPTION
LIB_EDAEXECUTER
LIB_GENERATOR
LIB_LIBJSON
LIB_TINYXML
# LIB_RAPIDXML_DOC_POSRPROCESSOR_SOURCE
LIB_MRVERIFY
# LIB_TEST
)