Reshuffle folder structure
Reshuffle folder structure and update cmake.yml
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <cstdio>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
auto main() -> int
|
||||
{
|
||||
printf("Hello, World!");
|
||||
spdlog::trace("Hello, World!");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user