From fe5831f6439de559d52c1c51198834cc08714ff2 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Thu, 12 Oct 2023 14:55:13 -0400 Subject: [PATCH] A simple cmake build system to start. --- CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4e78b67 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required( VERSION 3.25 ) +project( Alepha ) + +add_compile_options( -I . ; -std=c++20 ) + +set( VERBOSE 1 ) +set( CMAKE_VERBOSE_MAKEFILE true ) + +file( CREATE_LINK ${CMAKE_SOURCE_DIR} Alepha SYMBOLIC ) + +add_library( alepha SHARED Console.cpp ProgramOptions.cpp string_algorithms.cpp word_wrap.cpp ) +link_libraries( alepha ) + +add_executable( example example.cc )