Reshuffle folder structure

Reshuffle folder structure and update cmake.yml
This commit is contained in:
McMassiveNZ
2022-12-16 23:10:43 +01:00
parent 97a801e4a6
commit bb6eb1b24f
10 changed files with 17 additions and 15 deletions

View File

@@ -5,6 +5,9 @@ add_executable(
main.cpp
)
find_package(spdlog CONFIG REQUIRED)
target_link_libraries(${current_target} PRIVATE spdlog::spdlog spdlog::spdlog_header_only)
if( ENABLE_ALL_REASONABLE_WARNINGS )
MESSAGE("Additional Warnings Enabled")
target_enable_warnings(${current_target})
@@ -23,4 +26,4 @@ endif()
if( ENABLE_STATIC_ANALYSIS )
MESSAGE("Static Analysis Enabled")
target_enable_static_analysis(${current_target})
endif()
endif()

View File

@@ -1,8 +1,8 @@
#include <cstdio>
#include <spdlog/spdlog.h>
auto main() -> int
{
printf("Hello, World!");
spdlog::trace("Hello, World!");
return 0;
}