- success: open tarball

- success: read name of first file in archive and print it
This commit is contained in:
Marcel Nowicki
2022-02-05 00:06:19 +01:00
parent 13e1a20daa
commit de21161bbd
7 changed files with 15 additions and 24 deletions

View File

@@ -2,5 +2,6 @@ cmake_minimum_required(VERSION 3.21)
project(Tarstats__)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++20")
add_executable(Tarstats__ main.cpp)

View File

@@ -39,7 +39,7 @@
{
"directoryIndex" : 0,
"id" : "Tarstats__::@6890427a1f51a3e7e1df",
"jsonFile" : "target-Tarstats__-Debug-066bad13f338a93edc3c.json",
"jsonFile" : "target-Tarstats__-Debug-5ab14bbdd7bfa653cda6.json",
"name" : "Tarstats__",
"projectIndex" : 0
}

View File

@@ -26,7 +26,7 @@
"objects" :
[
{
"jsonFile" : "codemodel-v2-2bb2096cb74e60ceb66f.json",
"jsonFile" : "codemodel-v2-b74938cf3833c435d497.json",
"kind" : "codemodel",
"version" :
{
@@ -86,7 +86,7 @@
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-2bb2096cb74e60ceb66f.json",
"jsonFile" : "codemodel-v2-b74938cf3833c435d497.json",
"kind" : "codemodel",
"version" :
{

View File

@@ -24,7 +24,7 @@
{
"command" : 0,
"file" : 0,
"line" : 6,
"line" : 7,
"parent" : 0
}
]
@@ -35,7 +35,7 @@
"compileCommandFragments" :
[
{
"fragment" : "-g"
"fragment" : " -Wall -Wextra -Werror -std=c++20 -g"
},
{
"fragment" : "-std=gnu++20"
@@ -62,7 +62,7 @@
"commandFragments" :
[
{
"fragment" : "-g",
"fragment" : "-Wall -Wextra -Werror -std=c++20 -g",
"role" : "flags"
},
{

Binary file not shown.

View File

@@ -1,19 +1,9 @@
# ninja log v5
1 427 1644014135499922410 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
427 518 1644014135631923867 Tarstats__ fcf6c268460ac9e5
1 429 1644014424811119921 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
429 487 1644014424871120584 Tarstats__ fcf6c268460ac9e5
1 417 1644014494657484562 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
417 478 1644014494717484109 Tarstats__ fcf6c268460ac9e5
0 406 1644014556121641525 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
406 462 1644014556177641691 Tarstats__ fcf6c268460ac9e5
0 404 1644014609737977739 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
404 461 1644014609797978231 Tarstats__ fcf6c268460ac9e5
1 408 1644014627334127109 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
408 467 1644014627394127632 Tarstats__ fcf6c268460ac9e5
0 410 1644014748192003449 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
410 469 1644014748252002756 Tarstats__ fcf6c268460ac9e5
0 574 1644015351069049510 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
574 659 1644015351153049748 Tarstats__ fcf6c268460ac9e5
1 447 1644015543952720030 CMakeFiles/Tarstats__.dir/main.cpp.o acbcb9e1db8f452d
447 506 1644015544008719836 Tarstats__ fcf6c268460ac9e5
0 422 1644015874588328194 CMakeFiles/Tarstats__.dir/main.cpp.o bda4693f6e34dbc8
422 481 1644015874644328211 Tarstats__ f7cfe02335deb4e2
0 423 1644015901612338542 CMakeFiles/Tarstats__.dir/main.cpp.o bda4693f6e34dbc8
423 484 1644015901676338571 Tarstats__ f7cfe02335deb4e2
0 434 1644015947976364667 CMakeFiles/Tarstats__.dir/main.cpp.o bda4693f6e34dbc8
434 493 1644015948036364707 Tarstats__ f7cfe02335deb4e2

View File

@@ -74,7 +74,7 @@ build cmake_object_order_depends_target_Tarstats__: phony || CMakeFiles/Tarstats
build CMakeFiles/Tarstats__.dir/main.cpp.o: CXX_COMPILER__Tarstats___Debug /home/marcel/CLionProjects/Tarstats++/main.cpp || cmake_object_order_depends_target_Tarstats__
DEP_FILE = CMakeFiles/Tarstats__.dir/main.cpp.o.d
FLAGS = -g -std=gnu++20
FLAGS = -Wall -Wextra -Werror -std=c++20 -g -std=gnu++20
OBJECT_DIR = CMakeFiles/Tarstats__.dir
OBJECT_FILE_DIR = CMakeFiles/Tarstats__.dir
@@ -87,7 +87,7 @@ build CMakeFiles/Tarstats__.dir/main.cpp.o: CXX_COMPILER__Tarstats___Debug /home
# Link the executable Tarstats__
build Tarstats__: CXX_EXECUTABLE_LINKER__Tarstats___Debug CMakeFiles/Tarstats__.dir/main.cpp.o
FLAGS = -g
FLAGS = -Wall -Wextra -Werror -std=c++20 -g
OBJECT_DIR = CMakeFiles/Tarstats__.dir
POST_BUILD = :
PRE_LINK = :