16 lines
767 B
CMake
16 lines
767 B
CMake
|
###############################################################################
|
||
|
## Author: Shaun Reed ##
|
||
|
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
|
||
|
## About: A basic CMakeLists configuration to practice bubble sort ##
|
||
|
## ##
|
||
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
||
|
###############################################################################
|
||
|
|
||
|
cmake_minimum_required(VERSION 3.16)
|
||
|
project(BubbleSort LANGUAGES CXX)
|
||
|
|
||
|
add_executable(bubble-sort "bubble-sort.cpp")
|
||
|
|
||
|
add_library(lib-bubble "lib-bubble.cpp")
|
||
|
target_link_libraries(bubble-sort lib-bubble)
|