Added examples folder and CMakeLists.txt in repo root directory
This commit is contained in:
7
examples/CMakeLists.txt
Normal file
7
examples/CMakeLists.txt
Normal 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()
|
||||
8
examples/src/examples.cpp
Normal file
8
examples/src/examples.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <const_fmt/format.h>
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user