1
0
forked from Alepha/Alepha

A lot of progress towards unifying the build system.

This commit is contained in:
2023-10-12 18:11:51 -04:00
parent eb803ee5e6
commit 57b68ef8a4
15 changed files with 54 additions and 28 deletions

View File

@ -1,14 +1,29 @@
cmake_minimum_required( VERSION 3.25 )
project( Alepha )
add_compile_options( -I . ; -std=c++20 )
include( cmake/rules.cmake )
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 )
# The core alepha library:
add_library( alepha SHARED
Console.cpp
ProgramOptions.cpp
string_algorithms.cpp
word_wrap.cpp
)
# Everything else depends upon it
link_libraries( alepha )
# The subdirs to build
add_subdirectory( Meta )
add_subdirectory( Reflection )
# The local subdir tests to build
add_subdirectory( AutoRAII.test )
add_subdirectory( comparisons.test )
add_subdirectory( Exception.test )
# Sample applications
add_executable( example example.cc )