ADD: added libs; added CMakeLists.txt; added framework of the app

This commit is contained in:
Henry Winkel
2022-09-15 11:15:11 +02:00
parent b7050044e5
commit 57c69f5e01
5 changed files with 310 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
project (loguru VERSION 0.0.1 LANGUAGES CXX C)
IF(NOT TARGET loguru)
add_library(loguru STATIC loguru.cpp loguru.hpp)
target_include_directories(loguru PUBLIC .)
target_compile_options(loguru PUBLIC -DLOGURU_WITH_STREAMS=1)
target_link_libraries(loguru PUBLIC dl)
ENDIF()