initial commit
working C++ Development Setup on Linux (VS Code + CMake + vcpkg + clang )
This commit is contained in:
3
cplusplus/learning/tut1/CMakeLists.txt
Normal file
3
cplusplus/learning/tut1/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
find_package(fmt CONFIG REQUIRED)
|
||||
add_executable(tut1 main.cpp)
|
||||
target_link_libraries(tut1 PRIVATE fmt::fmt)
|
||||
12
cplusplus/learning/tut1/main.cpp
Normal file
12
cplusplus/learning/tut1/main.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <iostream>
|
||||
#include <fmt/core.h>
|
||||
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello from tut1\n";
|
||||
fmt::print("Hello from {} using fmt {}\n", "tut1", FMT_VERSION);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user