Improve coding style consistency
This commit is contained in:
parent
0c901efb16
commit
c052cf11b9
@ -4,10 +4,10 @@ project(cppformat-test)
|
||||
|
||||
add_subdirectory(../.. cppformat)
|
||||
|
||||
add_executable(library-test "main.cpp")
|
||||
add_executable(library-test "main.cc")
|
||||
target_link_libraries(library-test cppformat)
|
||||
|
||||
if (TARGET cppformat-header-only)
|
||||
add_executable(header-only-test "main.cpp")
|
||||
add_executable(header-only-test "main.cc")
|
||||
target_link_libraries(header-only-test cppformat-header-only)
|
||||
endif ()
|
||||
endif ()
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "cppformat/format.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, char** argv) {
|
||||
for(int i = 0; i < argc; ++i)
|
||||
fmt::print("{}: {}\n", i, argv[i]);
|
||||
return 0;
|
||||
}
|
@ -4,10 +4,10 @@ project(cppformat-test)
|
||||
|
||||
find_package(cppformat REQUIRED)
|
||||
|
||||
add_executable(library-test "main.cpp")
|
||||
add_executable(library-test "main.cc")
|
||||
target_link_libraries(library-test cppformat)
|
||||
|
||||
if (TARGET cppformat-header-only)
|
||||
add_executable(header-only-test "main.cpp")
|
||||
add_executable(header-only-test "main.cc")
|
||||
target_link_libraries(header-only-test cppformat-header-only)
|
||||
endif ()
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "cppformat/format.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, char** argv) {
|
||||
for(int i = 0; i < argc; ++i)
|
||||
fmt::print("{}: {}\n", i, argv[i]);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user