forked from qubic/qubic-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (38 loc) · 896 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
cmake_minimum_required(VERSION 3.1)
project(qubic-cli C CXX)
set (CMAKE_CXX_STANDARD 11)
SET(FILES ${CMAKE_SOURCE_DIR}/connection.cpp
${CMAKE_SOURCE_DIR}/keyUtils.cpp
${CMAKE_SOURCE_DIR}/nodeUtils.cpp
${CMAKE_SOURCE_DIR}/walletUtils.cpp
${CMAKE_SOURCE_DIR}/assetUtils.cpp
${CMAKE_SOURCE_DIR}/qubicLogParser.cpp
${CMAKE_SOURCE_DIR}/SCUtils.cpp
${CMAKE_SOURCE_DIR}/quottery.cpp
${CMAKE_SOURCE_DIR}/qutil.cpp
${CMAKE_SOURCE_DIR}/qx.cpp
)
SET(HEADER_FILES
K12AndKeyUtil.h
SCUtils.h
argparser.h
assetUtil.h
connection.h
defines.h
fourq-qubic.h
global.h
keyUtils.h
logger.h
nodeUtils.h
prompt.h
qubicLogParser.h
quottery.h
qutil.h
sanityCheck.h
structs.h
utils.h
walletUtils.h
)
ADD_EXECUTABLE(qubic-cli main.cpp ${FILES} ${HEADER_FILES})
ADD_LIBRARY(fourq-qubic SHARED fourq-qubic.cpp)
target_compile_options(fourq-qubic PRIVATE -DBUILD_4Q_LIB)