klips/cpp/algorithms/sorting/heap/CMakeLists.txt

18 lines
814 B
CMake

###############################################################################
## Author: Shaun Reed ##
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
## About: A basic CMakeLists configuration to practice heap sort ##
## ##
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
###############################################################################
cmake_minimum_required(VERSION 3.16)
project(HeapSort LANGUAGES CXX)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_executable(heap-sort "heap-sort.cpp")
add_library(lib-heap "lib-heap.cpp")
target_link_libraries(heap-sort lib-heap)