reworked JLoader as JSON_Loader, will require rework of rest of obj model
parent
245ee4323a
commit
9fe2d4923a
File diff suppressed because it is too large
Load Diff
|
@ -3,5 +3,5 @@ project(ftests)
|
|||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
set(SOURCE_FILES examplar.cpp src/loaders/loaders.cpp src/loaders/loaders.h src/json/jsoncpp.cpp src/loaders/JLoader.cpp src/loaders/JLoader.h src/loaders/helpers.cpp src/loaders/helpers.h src/loaders/Suite.cpp src/loaders/Suite.h src/loaders/Plan.cpp src/loaders/Plan.h src/loaders/Conf.cpp src/loaders/Conf.h src/loaders/Unit.cpp src/loaders/Unit.h src/loaders/Task.cpp src/loaders/Task.h)
|
||||
set(SOURCE_FILES examplar.cpp src/loaders/loaders.cpp src/loaders/loaders.h src/json/jsoncpp.cpp src/loaders/JSON_Loader.cpp src/loaders/JSON_Loader.h src/loaders/helpers.cpp src/loaders/helpers.h src/loaders/Suite.cpp src/loaders/Suite.h src/loaders/Plan.cpp src/loaders/Plan.h src/loaders/Conf.cpp src/loaders/Conf.h src/loaders/Unit.cpp src/loaders/Unit.h src/loaders/Task.cpp src/loaders/Task.h)
|
||||
add_executable(ftests ${SOURCE_FILES})
|
|
@ -1,13 +1,13 @@
|
|||
set(CMAKE_HOST_SYSTEM "Linux-4.4.0-71-generic")
|
||||
set(CMAKE_HOST_SYSTEM "Linux-4.4.0-78-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "4.4.0-71-generic")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "4.4.0-78-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-4.4.0-71-generic")
|
||||
set(CMAKE_SYSTEM "Linux-4.4.0-78-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "4.4.0-71-generic")
|
||||
set(CMAKE_SYSTEM_VERSION "4.4.0-78-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
The system is: Linux - 4.4.0-71-generic - x86_64
|
||||
The system is: Linux - 4.4.0-78-generic - x86_64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
|
@ -28,28 +28,28 @@ The CXX compiler identification is GNU, found in "/home/phanes/Development/inter
|
|||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_4f856/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_4f856.dir/build.make CMakeFiles/cmTC_4f856.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_21ded/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_21ded.dir/build.make CMakeFiles/cmTC_21ded.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_4f856.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_4f856.dir/testCCompiler.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_4f856
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f856.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_4f856.dir/testCCompiler.c.o -o cmTC_4f856
|
||||
Building C object CMakeFiles/cmTC_21ded.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_21ded.dir/testCCompiler.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_21ded
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21ded.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_21ded.dir/testCCompiler.c.o -o cmTC_21ded
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6c68a/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6c68a.dir/build.make CMakeFiles/cmTC_6c68a.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_fb93e/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_fb93e.dir/build.make CMakeFiles/cmTC_fb93e.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
|
||||
Linking C executable cmTC_6c68a
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c68a.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -o cmTC_6c68a
|
||||
Building C object CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
|
||||
Linking C executable cmTC_fb93e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb93e.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -o cmTC_fb93e
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
|
||||
|
@ -59,8 +59,8 @@ Thread model: posix
|
|||
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6c68a' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQQ2Gm5.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_6c68a /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fb93e' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccm1737w.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_fb93e /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -68,14 +68,14 @@ Parsed C implicit link information from above output:
|
|||
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_6c68a/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_6c68a.dir/build.make CMakeFiles/cmTC_6c68a.dir/build]
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_fb93e/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_fb93e.dir/build.make CMakeFiles/cmTC_fb93e.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Linking C executable cmTC_6c68a]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c68a.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -o cmTC_6c68a ]
|
||||
ignore line: [Building C object CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Linking C executable cmTC_fb93e]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb93e.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -o cmTC_fb93e ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
|
||||
|
@ -85,13 +85,13 @@ Parsed C implicit link information from above output:
|
|||
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6c68a' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQQ2Gm5.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_6c68a /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fb93e' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccm1737w.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_fb93e /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccQQ2Gm5.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccm1737w.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
|
@ -108,7 +108,7 @@ Parsed C implicit link information from above output:
|
|||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_6c68a] ==> ignore
|
||||
arg [cmTC_fb93e] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
|
||||
|
@ -120,7 +120,7 @@ Parsed C implicit link information from above output:
|
|||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
|
||||
arg [CMakeFiles/cmTC_6c68a.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [CMakeFiles/cmTC_fb93e.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
|
@ -154,14 +154,14 @@ Parsed C implicit link information from above output:
|
|||
Detecting C [-std=c11] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_24452/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_24452.dir/build.make CMakeFiles/cmTC_24452.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_e572b/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_e572b.dir/build.make CMakeFiles/cmTC_e572b.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_24452.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_24452.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_24452
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24452.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_24452.dir/feature_tests.c.o -o cmTC_24452
|
||||
Building C object CMakeFiles/cmTC_e572b.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_e572b.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_e572b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e572b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_e572b.dir/feature_tests.c.o -o cmTC_e572b
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -174,14 +174,14 @@ make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build
|
|||
Detecting C [-std=c99] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_7be6d/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_7be6d.dir/build.make CMakeFiles/cmTC_7be6d.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_36a06/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_36a06.dir/build.make CMakeFiles/cmTC_36a06.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_7be6d.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_7be6d.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_7be6d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7be6d.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_7be6d.dir/feature_tests.c.o -o cmTC_7be6d
|
||||
Building C object CMakeFiles/cmTC_36a06.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_36a06.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_36a06
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_36a06.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_36a06.dir/feature_tests.c.o -o cmTC_36a06
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -194,14 +194,14 @@ make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build
|
|||
Detecting C [-std=c90] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_f6c1e/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_f6c1e.dir/build.make CMakeFiles/cmTC_f6c1e.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_af731/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_af731.dir/build.make CMakeFiles/cmTC_af731.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_f6c1e.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_f6c1e.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_f6c1e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6c1e.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_f6c1e.dir/feature_tests.c.o -o cmTC_f6c1e
|
||||
Building C object CMakeFiles/cmTC_af731.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_af731.dir/feature_tests.c.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_af731
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_af731.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_af731.dir/feature_tests.c.o -o cmTC_af731
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -212,28 +212,28 @@ make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build
|
|||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_287f3/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_287f3.dir/build.make CMakeFiles/cmTC_287f3.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_2518f/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_2518f.dir/build.make CMakeFiles/cmTC_2518f.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_287f3.dir/testCXXCompiler.cxx.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_287f3.dir/testCXXCompiler.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_287f3
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_287f3.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_287f3.dir/testCXXCompiler.cxx.o -o cmTC_287f3
|
||||
Building CXX object CMakeFiles/cmTC_2518f.dir/testCXXCompiler.cxx.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_2518f.dir/testCXXCompiler.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_2518f
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2518f.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_2518f.dir/testCXXCompiler.cxx.o -o cmTC_2518f
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_e6d1b/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_e6d1b.dir/build.make CMakeFiles/cmTC_e6d1b.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_33e5d/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_33e5d.dir/build.make CMakeFiles/cmTC_33e5d.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
|
||||
Linking CXX executable cmTC_e6d1b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6d1b.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e6d1b
|
||||
Building CXX object CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
|
||||
Linking CXX executable cmTC_33e5d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_33e5d.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_33e5d
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
|
||||
|
@ -243,8 +243,8 @@ Thread model: posix
|
|||
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e6d1b' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9zdbuJ.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e6d1b /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_33e5d' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccoPDNDd.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_33e5d /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -252,14 +252,14 @@ Parsed CXX implicit link information from above output:
|
|||
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_e6d1b/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_e6d1b.dir/build.make CMakeFiles/cmTC_e6d1b.dir/build]
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_33e5d/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_33e5d.dir/build.make CMakeFiles/cmTC_33e5d.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Linking CXX executable cmTC_e6d1b]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6d1b.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e6d1b ]
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Linking CXX executable cmTC_33e5d]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_33e5d.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_33e5d ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
|
||||
|
@ -269,13 +269,13 @@ Parsed CXX implicit link information from above output:
|
|||
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e6d1b' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9zdbuJ.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e6d1b /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_33e5d' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccoPDNDd.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_33e5d /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc9zdbuJ.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccoPDNDd.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
|
@ -292,7 +292,7 @@ Parsed CXX implicit link information from above output:
|
|||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_e6d1b] ==> ignore
|
||||
arg [cmTC_33e5d] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
|
||||
|
@ -304,7 +304,7 @@ Parsed CXX implicit link information from above output:
|
|||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
|
||||
arg [CMakeFiles/cmTC_e6d1b.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [CMakeFiles/cmTC_33e5d.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
|
@ -336,14 +336,14 @@ Parsed CXX implicit link information from above output:
|
|||
Detecting CXX [-std=c++14] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_7a5ec/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_7a5ec.dir/build.make CMakeFiles/cmTC_7a5ec.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_55cf7/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_55cf7.dir/build.make CMakeFiles/cmTC_55cf7.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_7a5ec.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_7a5ec.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_7a5ec
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7a5ec.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_7a5ec.dir/feature_tests.cxx.o -o cmTC_7a5ec
|
||||
Building CXX object CMakeFiles/cmTC_55cf7.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_55cf7.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_55cf7
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55cf7.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_55cf7.dir/feature_tests.cxx.o -o cmTC_55cf7
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -409,14 +409,14 @@ make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build
|
|||
Detecting CXX [-std=c++11] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_81dfe/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_81dfe.dir/build.make CMakeFiles/cmTC_81dfe.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_7f99d/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_7f99d.dir/build.make CMakeFiles/cmTC_7f99d.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_81dfe.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_81dfe.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_81dfe
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81dfe.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_81dfe.dir/feature_tests.cxx.o -o cmTC_81dfe
|
||||
Building CXX object CMakeFiles/cmTC_7f99d.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_7f99d.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_7f99d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f99d.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_7f99d.dir/feature_tests.cxx.o -o cmTC_7f99d
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
@ -482,14 +482,14 @@ make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build
|
|||
Detecting CXX [-std=c++98] compiler features compiled with the following output:
|
||||
Change Dir: /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_0c4d5/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_0c4d5.dir/build.make CMakeFiles/cmTC_0c4d5.dir/build
|
||||
Run Build Command:"/usr/bin/make" "cmTC_806cd/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_806cd.dir/build.make CMakeFiles/cmTC_806cd.dir/build
|
||||
make[1]: Entering directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_0c4d5.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_0c4d5.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_0c4d5
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c4d5.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_0c4d5.dir/feature_tests.cxx.o -o cmTC_0c4d5
|
||||
Building CXX object CMakeFiles/cmTC_806cd.dir/feature_tests.cxx.o
|
||||
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_806cd.dir/feature_tests.cxx.o -c /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/feature_tests.cxx
|
||||
Linking CXX executable cmTC_806cd
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_806cd.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ CMakeFiles/cmTC_806cd.dir/feature_tests.cxx.o -o cmTC_806cd
|
||||
make[1]: Leaving directory '/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
|
|
@ -11,18 +11,83 @@ set(CMAKE_MAKEFILE_DEPENDS
|
|||
"CMakeFiles/3.5.1/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeSystem.cmake"
|
||||
"CMakeFiles/feature_tests.c"
|
||||
"CMakeFiles/feature_tests.cxx"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCXXCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeFindCodeBlocks.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeParseArguments.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeSystem.cmake.in"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/CMakeUnixFindMake.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU-C-FeatureTests.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX-FeatureTests.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Internal/FeatureTesting.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/MultiArchCross.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Platform/Linux-CXX.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU.cmake"
|
||||
|
@ -38,6 +103,11 @@ set(CMAKE_MAKEFILE_OUTPUTS
|
|||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.5.1/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
Options:
|
||||
CMake: 3.5.1@/usr/bin/cmake
|
||||
|
|
|
@ -1,4 +1,18 @@
|
|||
/usr/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/phanes/Development/internal/ftests
|
||||
-- The C compiler identification is GNU 5.4.0
|
||||
-- The CXX compiler identification is GNU 5.4.0
|
||||
-- Check for working C compiler: /usr/bin/cc
|
||||
-- Check for working C compiler: /usr/bin/cc -- works
|
||||
-- Detecting C compiler ABI info
|
||||
-- Detecting C compiler ABI info - done
|
||||
-- Detecting C compile features
|
||||
-- Detecting C compile features - done
|
||||
-- Check for working CXX compiler: /usr/bin/c++
|
||||
-- Check for working CXX compiler: /usr/bin/c++ -- works
|
||||
-- Detecting CXX compiler ABI info
|
||||
-- Detecting CXX compiler ABI info - done
|
||||
-- Detecting CXX compile features
|
||||
-- Detecting CXX compile features - done
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
-- Build files have been written to: /home/phanes/Development/internal/ftests/cmake-build-debug
|
||||
|
|
|
@ -1,264 +0,0 @@
|
|||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
/home/phanes/Development/internal/ftests/examplar.cpp
|
||||
iostream
|
||||
-
|
||||
src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
src/loaders/loaders.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
stddef.h
|
||||
-
|
||||
string
|
||||
-
|
||||
stdint.h
|
||||
-
|
||||
cpptl/config.h
|
||||
-
|
||||
version.h
|
||||
/home/phanes/Development/internal/ftests/src/json/version.h
|
||||
allocator.h
|
||||
/home/phanes/Development/internal/ftests/src/json/allocator.h
|
||||
config.h
|
||||
/home/phanes/Development/internal/ftests/src/json/config.h
|
||||
forwards.h
|
||||
/home/phanes/Development/internal/ftests/src/json/forwards.h
|
||||
forwards.h
|
||||
/home/phanes/Development/internal/ftests/src/json/forwards.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
exception
|
||||
-
|
||||
map
|
||||
-
|
||||
cpptl/smallmap.h
|
||||
-
|
||||
cpptl/forwards.h
|
||||
-
|
||||
features.h
|
||||
/home/phanes/Development/internal/ftests/src/json/features.h
|
||||
value.h
|
||||
/home/phanes/Development/internal/ftests/src/json/value.h
|
||||
deque
|
||||
-
|
||||
iosfwd
|
||||
-
|
||||
stack
|
||||
-
|
||||
string
|
||||
-
|
||||
istream
|
||||
-
|
||||
value.h
|
||||
/home/phanes/Development/internal/ftests/src/json/value.h
|
||||
vector
|
||||
-
|
||||
string
|
||||
-
|
||||
ostream
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
sstream
|
||||
-
|
||||
config.h
|
||||
/home/phanes/Development/internal/ftests/src/json/config.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp
|
||||
json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
clocale
|
||||
-
|
||||
json/assertions.h
|
||||
-
|
||||
json/reader.h
|
||||
-
|
||||
json/value.h
|
||||
-
|
||||
json_tool.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json_tool.h
|
||||
utility
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
cassert
|
||||
-
|
||||
cstring
|
||||
-
|
||||
istream
|
||||
-
|
||||
sstream
|
||||
-
|
||||
memory
|
||||
-
|
||||
set
|
||||
-
|
||||
limits
|
||||
-
|
||||
json/assertions.h
|
||||
-
|
||||
json/value.h
|
||||
-
|
||||
json/writer.h
|
||||
-
|
||||
math.h
|
||||
-
|
||||
sstream
|
||||
-
|
||||
utility
|
||||
-
|
||||
cstring
|
||||
-
|
||||
cassert
|
||||
-
|
||||
cpptl/conststring.h
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
json_valueiterator.inl
|
||||
/home/phanes/Development/internal/ftests/src/json/json_valueiterator.inl
|
||||
json/writer.h
|
||||
-
|
||||
json_tool.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json_tool.h
|
||||
iomanip
|
||||
-
|
||||
memory
|
||||
-
|
||||
sstream
|
||||
-
|
||||
utility
|
||||
-
|
||||
set
|
||||
-
|
||||
cassert
|
||||
-
|
||||
cstring
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
float.h
|
||||
-
|
||||
ieeefp.h
|
||||
-
|
||||
math.h
|
||||
-
|
||||
math.h
|
||||
-
|
||||
cmath
|
||||
-
|
||||
float.h
|
||||
-
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.cpp
|
||||
Conf.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
string
|
||||
-
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
helpers.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
../json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
iostream
|
||||
-
|
||||
fstream
|
||||
-
|
||||
cstdlib
|
||||
-
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp
|
||||
Plan.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
string
|
||||
-
|
||||
../json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
Task.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.cpp
|
||||
Suite.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
vector
|
||||
-
|
||||
../json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
Unit.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.cpp
|
||||
Task.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
string
|
||||
-
|
||||
../json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp
|
||||
Unit.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
string
|
||||
-
|
||||
../json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
|
||||
helpers.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
|
||||
string
|
||||
-
|
||||
sys/stat.h
|
||||
-
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
|
||||
loaders.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
|
||||
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
|
||||
JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
Suite.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
Plan.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
Conf.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
|
||||
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o
|
||||
/home/phanes/Development/internal/ftests/examplar.cpp
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
|
||||
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
|
||||
/home/phanes/Development/internal/ftests/src/json/json.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Suite.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Task.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
|
||||
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
|
|
@ -1,59 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
|
||||
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../examplar.cpp
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Conf.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Plan.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Suite.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Task.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Unit.h
|
||||
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/loaders.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/jsoncpp.cpp
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/Conf.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/Conf.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/JLoader.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/JLoader.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/helpers.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Task.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Suite.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Suite.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Unit.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/loaders/Task.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/loaders/Task.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/loaders/Unit.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/loaders/Unit.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.h
|
||||
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/json/json.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Conf.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/JLoader.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Plan.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Suite.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Task.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Unit.h
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.cpp
|
||||
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.h
|
||||
|
||||
# Empty dependencies file for ftests.
|
||||
# This may be replaced when dependencies are built.
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13
examplar.cpp
13
examplar.cpp
|
@ -2,25 +2,28 @@
|
|||
#include "src/json/json.h"
|
||||
#include "src/loaders/loaders.h"
|
||||
|
||||
int main()
|
||||
int main( )
|
||||
{
|
||||
// A Plan is made up of Tasks, and a Suite is made up of Units.
|
||||
// A Plan declares what units are executed and a Suite declares the definitions of those units.
|
||||
Conf configuration = Conf("config.json");
|
||||
Conf configuration = Conf( "config.json" );
|
||||
|
||||
// load the configuration file which contains filepaths to definitions of a plan and definitions of units.
|
||||
std::string definitions_file = configuration.get_units_path();
|
||||
|
||||
std::string plan_file = configuration.get_plan_path();
|
||||
|
||||
Suite unit_definitions = Suite( definitions_file );
|
||||
Suite * unit_definitions = new Suite();
|
||||
|
||||
unit_definitions->load_file( definitions_file );
|
||||
|
||||
Plan plan = Plan( plan_file );
|
||||
|
||||
for ( int i = 0; i < plan.num_tasks(); ++i )
|
||||
{
|
||||
Task current_task = plan.get_task(i);
|
||||
Task current_task = plan.get_task( i );
|
||||
|
||||
Unit current_unit = unit_definitions.get_unit(current_task.get_name());
|
||||
Unit current_unit = unit_definitions->get_unit( current_task.get_name() );
|
||||
|
||||
std::cout << "Found task name in \"" << configuration.get_plan_path() << "\":\t" << current_task.get_name() << std::endl << std::endl;
|
||||
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#include "Conf.h"
|
||||
#include "JLoader.h"
|
||||
#include <string>
|
||||
|
||||
|
||||
Conf::Conf( std::string filename ): JLoader( filename )
|
||||
Conf::Conf( std::string filename ): JSON_Loader( filename )
|
||||
{
|
||||
this->plan_path = this->get_root()["plan_path"].asString();
|
||||
this->units_path = this->get_root()["units_path"].asString();
|
||||
this->plan_path = this->as_serialized()["plan_path"].asString();
|
||||
this->units_path = this->as_serialized()["units_path"].asString();
|
||||
};
|
||||
|
||||
std::string Conf::get_plan_path()
|
||||
|
|
|
@ -4,16 +4,15 @@
|
|||
|
||||
#ifndef FTESTS_CONF_H
|
||||
#define FTESTS_CONF_H
|
||||
#include "JLoader.h"
|
||||
#include "JSON_Loader.h"
|
||||
|
||||
class Conf: public JLoader
|
||||
class Conf: public JSON_Loader
|
||||
{
|
||||
private:
|
||||
std::string plan_path;
|
||||
std::string units_path;
|
||||
|
||||
public:
|
||||
using JLoader::JLoader;
|
||||
Conf( std::string filename );
|
||||
std::string get_plan_path();
|
||||
std::string get_units_path();
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#include "JLoader.h"
|
||||
#include "helpers.h"
|
||||
|
||||
JLoader::JLoader( std::string filename )
|
||||
{
|
||||
Json::Value json_root;
|
||||
Json::Reader reader;
|
||||
|
||||
if (! exists( filename ) )
|
||||
{
|
||||
std::cerr << "File '" << filename << "' does not exist.";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
std::ifstream jfile( filename, std::ifstream::binary );
|
||||
|
||||
bool parsingSuccessful = reader.parse( jfile, this->json_root );
|
||||
if (! parsingSuccessful )
|
||||
{
|
||||
std::cerr << "Failed to parse " << filename << ":\n\t" << reader.getFormattedErrorMessages();
|
||||
std::exit( 1 );
|
||||
} else {
|
||||
std::cout << "Parsed " << filename << " with " << this->json_root.size() << " elements." << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
Json::Value JLoader::get_root()
|
||||
{
|
||||
return this->json_root;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#ifndef FTESTS_JLOADER_H
|
||||
#define FTESTS_JLOADER_H
|
||||
#include "../json/json.h"
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
class JLoader
|
||||
{
|
||||
private:
|
||||
Json::Value json_root;
|
||||
public:
|
||||
JLoader( std::string filename );
|
||||
Json::Value get_root();
|
||||
};
|
||||
#endif //FTESTS_JLOADER_H
|
|
@ -0,0 +1,95 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#include "JSON_Loader.h"
|
||||
#include "helpers.h"
|
||||
|
||||
JSON_Loader::JSON_Loader()
|
||||
{
|
||||
// empty
|
||||
}
|
||||
|
||||
// loads json from a file into a deserializable type and sets to private member json_root
|
||||
int JSON_Loader::load_json_file( std::string filename, bool verbose )
|
||||
{
|
||||
// reads from a file into a Json::Value type.
|
||||
Json::Reader json_reader;
|
||||
|
||||
// the a deserialized json type to contain what's read by the reader
|
||||
Json::Value json_root;
|
||||
|
||||
// first, check if the file exists
|
||||
if (! exists( filename ) )
|
||||
{
|
||||
std::cerr << "File '" << filename << "' does not exist.";
|
||||
// exit with failure signal
|
||||
return 1;
|
||||
}
|
||||
|
||||
// create the ifstream file handle
|
||||
std::ifstream json_file_ifstream( filename, std::ifstream::binary );
|
||||
|
||||
// use the reader to parse the ifstream to the local property
|
||||
bool parsingSuccessful = json_reader.parse( json_file_ifstream, this->json_root );
|
||||
|
||||
if (! parsingSuccessful )
|
||||
{
|
||||
std::cerr << "Failed to parse " << filename << ":\n\t" << json_reader.getFormattedErrorMessages();
|
||||
// exit with failure signal
|
||||
return 1;
|
||||
} else {
|
||||
// if in verbose mode, give the user an "it worked" message
|
||||
if (verbose)
|
||||
{
|
||||
std::cout << "Parsed " << filename << " with " << this->json_root.size() << " elements." << std::endl;
|
||||
}
|
||||
}
|
||||
// exit successfully
|
||||
return 0;
|
||||
}
|
||||
|
||||
// loads json from std::string into a serialized type and sets to private member json_root
|
||||
int JSON_Loader::load_json_string( std::string input, bool verbose )
|
||||
{
|
||||
// reads from a string into a Json::Value type.
|
||||
Json::Reader json_reader;
|
||||
|
||||
// the deserialized json type to contain what's read by the reader
|
||||
Json::Value json_root;
|
||||
|
||||
// create the ifstream file handle
|
||||
std::ifstream json_file_ifstream( input.c_str(), std::ifstream::binary );
|
||||
|
||||
// use the reader to parse the ifstream to the local property
|
||||
bool parsingSuccessful = json_reader.parse( json_file_ifstream, this->json_root );
|
||||
|
||||
if (! parsingSuccessful )
|
||||
{
|
||||
std::cerr << "Failed to parse adhoc JSON value." << std::endl << input << std::endl << std::endl << json_reader.getFormattedErrorMessages();
|
||||
// exit with failure signal
|
||||
return 1;
|
||||
} else {
|
||||
// if in verbose mode, give the user an "it worked" message
|
||||
if (verbose)
|
||||
{
|
||||
std::cout << "Successfully parsed JSON string with " << this->json_root.size() << " elements. Value:" << std::endl;
|
||||
std::cout << input << std::endl;
|
||||
}
|
||||
}
|
||||
// exit successfully
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
// returns the serialized representation of json_root
|
||||
Json::Value JSON_Loader::as_serialized()
|
||||
{
|
||||
return this->json_root;
|
||||
}
|
||||
|
||||
// returns the string representation of json_root
|
||||
std::string JSON_Loader::as_string()
|
||||
{
|
||||
return this->json_root.asString();
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#ifndef FTESTS_JLOADER_H
|
||||
#define FTESTS_JLOADER_H
|
||||
#include "../json/json.h"
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
class JSON_Loader
|
||||
{
|
||||
private:
|
||||
Json::Value json_root;
|
||||
public:
|
||||
// constructor
|
||||
JSON_Loader();
|
||||
|
||||
// load from json file
|
||||
int load_json_file( std::string filename, bool verbose );
|
||||
|
||||
// load from std::string json
|
||||
int load_json_string( std::string input, bool verbose );
|
||||
|
||||
// return as a JSONCPP serialized object
|
||||
Json::Value as_serialized();
|
||||
std::string as_string();
|
||||
};
|
||||
#endif //FTESTS_JLOADER_H
|
|
@ -41,12 +41,12 @@ Task Plan::get_task(std::string provided_name)
|
|||
return * returnable;
|
||||
}
|
||||
|
||||
Plan::Plan( std::string filename ): JLoader( filename )
|
||||
Plan::Plan( std::string filename ): JSON_Loader( filename )
|
||||
/* Plan loads a file and deserializes the Unit JSON object to Task types as a vector member
|
||||
* Plan { vector<Task> }
|
||||
*/
|
||||
{
|
||||
Json::Value raw_tasks = this->get_root()["plan"];
|
||||
Json::Value raw_tasks = this->as_serialized()["plan"];
|
||||
|
||||
for ( int index = 0; index < raw_tasks.size(); index++ )
|
||||
{
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
#include <string>
|
||||
#include "../json/json.h"
|
||||
#include "JLoader.h"
|
||||
#include "JSON_Loader.h"
|
||||
#include "Task.h"
|
||||
|
||||
|
||||
class Plan: public JLoader
|
||||
class Plan: public JSON_Loader
|
||||
{
|
||||
private:
|
||||
std::vector<Task> tasks;
|
||||
|
|
|
@ -1,17 +1,25 @@
|
|||
#include "Suite.h"
|
||||
|
||||
Suite::Suite( std::string filename ): JLoader( filename )
|
||||
Suite::Suite(): JSON_Loader() {}
|
||||
Suite::Suite( std::string filename ): JSON_Loader( filename )
|
||||
/* Suite loads a file and deserializes the Unit JSON object to Unit types as a vector member
|
||||
* Suite { vector<Unit> }
|
||||
*/
|
||||
{
|
||||
Json::Value raw_units = this->get_root()["units"];
|
||||
load_file( filename );
|
||||
};
|
||||
|
||||
int Suite::load_file(std::string filename): JSON_Loader( filename )
|
||||
{
|
||||
Json::Value raw_units = this->get_root()["units"];
|
||||
for ( int index = 0; index < raw_units.size(); index++ )
|
||||
{
|
||||
this->units.push_back( Unit( raw_units[ index ] ) );
|
||||
}
|
||||
};
|
||||
std::cout << raw_units.size() << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Unit Suite::get_unit(std::string provided_name)
|
||||
/*
|
||||
|
@ -38,6 +46,5 @@ Unit Suite::get_unit(std::string provided_name)
|
|||
std::cerr << "Unit name \"" << provided_name << "\" was referenced but not defined!" << std::endl;
|
||||
std::exit(1);
|
||||
}
|
||||
|
||||
return * returnable;
|
||||
}
|
||||
|
|
|
@ -1,17 +1,12 @@
|
|||
//
|
||||
// Created by phanes on 4/22/17.
|
||||
//
|
||||
|
||||
#ifndef FTESTS_UNITS_H
|
||||
#define FTESTS_UNITS_H
|
||||
|
||||
#include <vector>
|
||||
#include "../json/json.h"
|
||||
#include "JLoader.h"
|
||||
#include "JSON_Loader.h"
|
||||
#include "Unit.h"
|
||||
|
||||
|
||||
class Suite: public JLoader
|
||||
class Suite: public JSON_Loader
|
||||
{
|
||||
private:
|
||||
std::vector<Unit> units;
|
||||
|
@ -19,11 +14,11 @@ class Suite: public JLoader
|
|||
public:
|
||||
// constructor
|
||||
Suite( std::string filename );
|
||||
Suite();
|
||||
|
||||
int load_file( std::string filename );
|
||||
// returns the unit type identified by name or null
|
||||
Unit get_unit(std::string provided_name);
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //FTESTS_UNITS_H
|
||||
|
|
|
@ -1,20 +1,41 @@
|
|||
#include "Task.h"
|
||||
|
||||
|
||||
Task::Task() {}
|
||||
|
||||
Task::Task( Json::Value loader_root )
|
||||
{
|
||||
this->load_root( loader_root );
|
||||
}
|
||||
|
||||
int Task::load_root(Json::Value loader_root)
|
||||
{
|
||||
this->name = loader_root.get("name", "?").asString();
|
||||
this->dependencies = loader_root.get("depends on", "");
|
||||
this->has_succeeded = false;
|
||||
}
|
||||
|
||||
std::string Task::get_name() { return this->name; }
|
||||
bool Task::isDone() { return this->has_succeeded; }
|
||||
void Task::finish() { this->has_succeeded = true; }
|
||||
|
||||
std::string Task::get_name()
|
||||
{
|
||||
return this->name;
|
||||
}
|
||||
|
||||
bool Task::isDone()
|
||||
{
|
||||
return this->has_succeeded;
|
||||
}
|
||||
|
||||
void Task::finish()
|
||||
{
|
||||
this->has_succeeded = true;
|
||||
}
|
||||
|
||||
// returns Json::Value for dependencies
|
||||
Json::Value Task::get_dependencies() { return this->dependencies;}
|
||||
|
||||
|
||||
Json::Value Task::get_dependencies()
|
||||
{
|
||||
return this->dependencies;
|
||||
}
|
||||
|
||||
Json::Value Task::set_dependencies()
|
||||
{
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
//
|
||||
// Created by phanes on 4/30/17.
|
||||
//
|
||||
|
||||
#ifndef FTESTS_TASK_H
|
||||
#define FTESTS_TASK_H
|
||||
#include <string>
|
||||
#include "../json/json.h"
|
||||
#include "Unit.h"
|
||||
#include "Suite.h"
|
||||
|
||||
class Task
|
||||
{
|
||||
|
@ -16,9 +14,15 @@ class Task
|
|||
|
||||
public:
|
||||
Task( Json::Value loader_root );
|
||||
Task();
|
||||
|
||||
int load_root( Json::Value loader_root );
|
||||
|
||||
std::string get_name();
|
||||
Json::Value get_dependencies();
|
||||
Json::Value set_dependencies();
|
||||
|
||||
// appends associated_unit as child member
|
||||
bool isDone();
|
||||
void finish();
|
||||
};
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
#include "Unit.h"
|
||||
|
||||
|
||||
Unit::Unit() {}
|
||||
Unit::Unit( Json::Value loader_root )
|
||||
/*
|
||||
* Constructor for Unit type. Receives a UnitHolder loader_root.
|
||||
*/
|
||||
{
|
||||
this->load_root( loader_root );
|
||||
}
|
||||
|
||||
int Unit::load_root(Json::Value loader_root)
|
||||
{
|
||||
this->name = loader_root.get("name", "?").asString();
|
||||
this->target = loader_root.get("target", "?").asString();
|
||||
|
@ -12,8 +19,9 @@ Unit::Unit( Json::Value loader_root )
|
|||
this->active = loader_root.get("active", "?").asString();
|
||||
this->required = loader_root.get("required", "?").asString();
|
||||
this->rectify = loader_root.get("rectify", "?").asString();
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
/*
|
||||
* getters for Unit type.
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,11 @@ private:
|
|||
std::string rectify;
|
||||
|
||||
public:
|
||||
Unit();
|
||||
Unit( Json::Value loader_root );
|
||||
|
||||
int load_root( Json::Value loader_root );
|
||||
|
||||
std::string get_name();
|
||||
std::string get_target();
|
||||
std::string get_output();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef FTESTS_LOADERS_H
|
||||
#define FTESTS_LOADERS_H
|
||||
|
||||
#include "JLoader.h"
|
||||
#include "JSON_Loader.h"
|
||||
#include "Suite.h"
|
||||
#include "Plan.h"
|
||||
#include "Conf.h"
|
||||
|
|
Loading…
Reference in New Issue