Add some recipes
This commit is contained in:
13
recipes/spdlog/all/test_package/test_package.cpp
Normal file
13
recipes/spdlog/all/test_package/test_package.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <cstdlib>
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
#if defined __has_include
|
||||
# if __has_include ("spdlog/fmt/bundled/core.h")
|
||||
# error "bundled fmt within spdlog should not be present"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
spdlog::info("Welcome to spdlog version {}.{}.{} !", SPDLOG_VER_MAJOR, SPDLOG_VER_MINOR, SPDLOG_VER_PATCH);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user