Added examples folder and CMakeLists.txt in repo root directory

This commit is contained in:
2022-02-13 17:40:33 +01:00
parent 9c5a73e2bd
commit 9626f5efc4
4 changed files with 38 additions and 18 deletions

7
examples/CMakeLists.txt Normal file
View File

@@ -0,0 +1,7 @@
add_executable(const_fmt_example src/examples.cpp)
if(MSVC)
target_compile_options(const_fmt_example PRIVATE /W4 /WX)
else()
target_compile_options(const_fmt_example PRIVATE -O3 -Wall -Wextra -pedantic -fno-exceptions)
endif()

View File

@@ -0,0 +1,8 @@
#include <const_fmt/format.h>
#include <iostream>
int main() {
// TODO
return 0;
}