23 lines
900 B
CMake
23 lines
900 B
CMake
###############################################################################
|
|
## Author: Shaun Reed ##
|
|
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
|
|
## About: A CMakeLists configuration to test a simple graph implementation ##
|
|
## ##
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
|
##############################################################################
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(
|
|
#[[NAME]] SimpleGraph
|
|
VERSION 1.0
|
|
DESCRIPTION "Practice implementing and using simple graphs in C++"
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
add_library(lib-graph-simple "lib-graph.cpp")
|
|
|
|
add_executable(graph-test-simple "graph.cpp")
|
|
target_link_libraries(graph-test-simple lib-graph-simple)
|