-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
27 lines (23 loc) · 887 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
#***********************************************************
# This is a simple cmake file for creating a
# single-file application, that depends on
# system libraries
#
# Reference: https://stackoverflow.com/questions/39598323/how-to-properly-link-libraries-with-cmake
#***********************************************************
cmake_minimum_required(VERSION 3.10)
project(blockchain)
# Set C++ flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
# Define the main module, which also holds the executable
add_executable(blockchain
Block.cpp
Blockchain.cpp
sha256.cpp
main.cpp)
# Link system libaries
#target_link_libraries(ray_tracer -lX11)
#target_link_libraries(ray_tracer -lGL)
#target_link_libraries(ray_tracer -lpthread)
#target_link_libraries(ray_tracer -lpng)
#target_link_libraries(ray_tracer -lstdc++fs)