From 4c4eeeba8e88f41b96682ab6a6318f5ca4c32db6 Mon Sep 17 00:00:00 2001 From: arksha Date: Wed, 18 Jan 2017 20:17:04 -0800 Subject: [PATCH 1/7] modify LEPT_PARSE_ROOT_NOT_SINGULAR to pass test, handle last part blank and extra json, add parse_true test and parse_false unit test, add parse_true function and parse_false function --- tutorial01/buildXcode/CMakeCache.txt | 285 ++++++ .../CMakeFiles/3.7.2/CMakeCCompiler.cmake | 68 ++ .../3.7.2/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 4728 bytes .../CMakeFiles/3.7.2/CMakeSystem.cmake | 15 + .../3.7.2/CompilerIdC/CMakeCCompilerId.c | 561 ++++++++++++ .../CMakeFiles/3.7.2/CompilerIdC/CompilerIdC | Bin 0 -> 9104 bytes ...rIdC-all-non-framework-target-headers.hmap | Bin 0 -> 1561 bytes .../CompilerIdC-all-target-headers.hmap | Bin 0 -> 1561 bytes .../CompilerIdC-generated-files.hmap | Bin 0 -> 121 bytes .../CompilerIdC-own-target-headers.hmap | Bin 0 -> 1561 bytes .../CompilerIdC-project-headers.hmap | Bin 0 -> 1561 bytes .../Debug/CompilerIdC.build/CompilerIdC.hmap | Bin 0 -> 1561 bytes .../Objects-normal/x86_64/CMakeCCompilerId.d | 2 + .../x86_64/CMakeCCompilerId.dia | Bin 0 -> 220 bytes .../Objects-normal/x86_64/CMakeCCompilerId.o | Bin 0 -> 3860 bytes .../x86_64/CompilerIdC.LinkFileList | 1 + .../x86_64/CompilerIdC_dependency_info.dat | Bin 0 -> 28449 bytes .../Script-2C8FEB8E15DC1A1A00E56A5D.sh | 2 + .../Debug/CompilerIdC.build/dgph | Bin 0 -> 31963 bytes .../Debug/CompilerIdC.build/dgph~ | Bin 0 -> 159 bytes .../CompilerIdC.xcodeproj/project.pbxproj | 111 +++ .../buildXcode/CMakeFiles/CMakeOutput.log | 272 ++++++ .../CMakeFiles/TargetDirectories.txt | 4 + .../buildXcode/CMakeFiles/cmake.check_cache | 1 + .../buildXcode/CMakeFiles/feature_tests.bin | Bin 0 -> 4728 bytes .../buildXcode/CMakeFiles/feature_tests.c | 34 + .../ALL_BUILD_cmakeRulesBuildPhase.makeDebug | 10 + ..._BUILD_cmakeRulesBuildPhase.makeMinSizeRel | 10 + ...LD_cmakeRulesBuildPhase.makeRelWithDebInfo | 10 + ...ALL_BUILD_cmakeRulesBuildPhase.makeRelease | 10 + .../buildXcode/CMakeScripts/ReRunCMake.make | 77 ++ .../ZERO_CHECK_cmakeRulesBuildPhase.makeDebug | 10 + ..._CHECK_cmakeRulesBuildPhase.makeMinSizeRel | 10 + ...CK_cmakeRulesBuildPhase.makeRelWithDebInfo | 10 + ...ERO_CHECK_cmakeRulesBuildPhase.makeRelease | 10 + tutorial01/buildXcode/Debug/leptjson_test | Bin 0 -> 15092 bytes tutorial01/buildXcode/Debug/libleptjson.a | Bin 0 -> 6960 bytes tutorial01/buildXcode/cmake_install.cmake | 39 + .../Script-B6C5E4358865405FAC4BD192.sh | 2 + .../Debug/ALL_BUILD.build/dgph | Bin 0 -> 18902 bytes .../Debug/ALL_BUILD.build/dgph~ | Bin 0 -> 685 bytes .../Script-A27BDB4FF195400D84738D51.sh | 2 + .../Debug/ZERO_CHECK.build/dgph | Bin 0 -> 19325 bytes .../Debug/ZERO_CHECK.build/dgph~ | Bin 0 -> 19325 bytes .../x86_64/leptjson.LinkFileList | 1 + .../Objects-normal/x86_64/leptjson.d | 3 + .../Objects-normal/x86_64/leptjson.dia | Bin 0 -> 220 bytes .../Objects-normal/x86_64/leptjson.o | Bin 0 -> 6732 bytes .../Debug/leptjson.build/dgph | Bin 0 -> 8138 bytes .../Debug/leptjson.build/dgph~ | Bin 0 -> 8703 bytes .../x86_64/leptjson_test.LinkFileList | 1 + .../x86_64/leptjson_test_dependency_info.dat | Bin 0 -> 27249 bytes .../Objects-normal/x86_64/test.d | 3 + .../Objects-normal/x86_64/test.dia | Bin 0 -> 220 bytes .../Objects-normal/x86_64/test.o | Bin 0 -> 9684 bytes .../Debug/leptjson_test.build/dgph | Bin 0 -> 10465 bytes .../Debug/leptjson_test.build/dgph~ | Bin 0 -> 10465 bytes .../leptjson_test.xcodeproj/project.pbxproj | 862 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../UserInterfaceState.xcuserstate | Bin 0 -> 17773 bytes .../WorkspaceSettings.xcsettings | 8 + .../xcdebugger/Breakpoints_v2.xcbkptlist | 39 + .../xcschemes/ALL_BUILD.xcscheme | 80 ++ .../xcschemes/ZERO_CHECK.xcscheme | 80 ++ .../xcschemes/leptjson.xcscheme | 80 ++ .../xcschemes/leptjson_test.xcscheme | 91 ++ .../xcschemes/xcschememanagement.plist | 52 ++ tutorial01/leptjson.c | 30 +- tutorial01/test.c | 16 + 69 files changed, 2908 insertions(+), 1 deletion(-) create mode 100644 tutorial01/buildXcode/CMakeCache.txt create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeCCompiler.cmake create mode 100755 tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeSystem.cmake create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c create mode 100755 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat create mode 100755 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph~ create mode 100644 tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj create mode 100644 tutorial01/buildXcode/CMakeFiles/CMakeOutput.log create mode 100644 tutorial01/buildXcode/CMakeFiles/TargetDirectories.txt create mode 100644 tutorial01/buildXcode/CMakeFiles/cmake.check_cache create mode 100755 tutorial01/buildXcode/CMakeFiles/feature_tests.bin create mode 100644 tutorial01/buildXcode/CMakeFiles/feature_tests.c create mode 100644 tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug create mode 100644 tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel create mode 100644 tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo create mode 100644 tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease create mode 100644 tutorial01/buildXcode/CMakeScripts/ReRunCMake.make create mode 100644 tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug create mode 100644 tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel create mode 100644 tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo create mode 100644 tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease create mode 100755 tutorial01/buildXcode/Debug/leptjson_test create mode 100644 tutorial01/buildXcode/Debug/libleptjson.a create mode 100644 tutorial01/buildXcode/cmake_install.cmake create mode 100755 tutorial01/buildXcode/leptjson_test.build/Debug/ALL_BUILD.build/Script-B6C5E4358865405FAC4BD192.sh create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/ALL_BUILD.build/dgph create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/ALL_BUILD.build/dgph~ create mode 100755 tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/Script-A27BDB4FF195400D84738D51.sh create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/dgph create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/dgph~ create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.LinkFileList create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.d create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.dia create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.o create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/dgph create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/dgph~ create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/Objects-normal/x86_64/leptjson_test.LinkFileList create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/Objects-normal/x86_64/leptjson_test_dependency_info.dat create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/Objects-normal/x86_64/test.d create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/Objects-normal/x86_64/test.dia create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/Objects-normal/x86_64/test.o create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph create mode 100644 tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph~ create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/project.pbxproj create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/project.xcworkspace/xcuserdata/tinggong.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/project.xcworkspace/xcuserdata/tinggong.xcuserdatad/WorkspaceSettings.xcsettings create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ALL_BUILD.xcscheme create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ZERO_CHECK.xcscheme create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson.xcscheme create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson_test.xcscheme create mode 100644 tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/tutorial01/buildXcode/CMakeCache.txt b/tutorial01/buildXcode/CMakeCache.txt new file mode 100644 index 00000000..7e81f842 --- /dev/null +++ b/tutorial01/buildXcode/CMakeCache.txt @@ -0,0 +1,285 @@ +# This is the CMakeCache file. +# For build in directory: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode +# It was generated by CMake: /usr/local/Cellar/cmake/3.7.2/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar + +//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or +// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. +CMAKE_BUILD_TYPE:STRING= + +//Semicolon separated list of supported configuration types, only +// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything +// else will be ignored. +CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo + +//Flags used by the compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release builds for minimum +// size. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Flags used by the linker. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld + +//Flags used by the linker during the creation of modules. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=CMAKE_OBJDUMP-NOTFOUND + +//Build architectures for OSX +CMAKE_OSX_ARCHITECTURES:STRING= + +//Minimum OS X version to target for deployment (at runtime); newer +// APIs weak linked. Set to empty string for default value. +CMAKE_OSX_DEPLOYMENT_TARGET:STRING= + +//The product will be built against the headers and libraries located +// inside the indicated SDK. +CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=leptjson_test + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib + +//Flags used by the linker during the creation of dll's. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Dependencies for target +leptjson_LIB_DEPENDS:STATIC= + +//Value Computed by CMake +leptjson_test_BINARY_DIR:STATIC=/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode + +//Value Computed by CMake +leptjson_test_SOURCE_DIR:STATIC=/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01 + + +######################## +# INTERNAL cache entries +######################## + +//Stored Xcode object GUID +ALL_BUILD_GUID_CMAKE:INTERNAL=0F5097E220B447EBB43F8468 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=7 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.2/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.2/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.7.2/bin/ctest +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Xcode +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01 +//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL +CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.7.2/share/cmake +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Stored Xcode object GUID +PROJECT_leptjson_test_GUID_CMAKE:INTERNAL=3529316351794F22BF7F4BB5 +//Stored Xcode object GUID +ZERO_CHECK_GUID_CMAKE:INTERNAL=7383107915F749F1915E3EEE +//Stored Xcode object GUID +leptjson_GUID_CMAKE:INTERNAL=F6595E301573412BB5CD97B9 +//Stored Xcode object GUID +leptjson_test_GUID_CMAKE:INTERNAL=E74F30DBE1E54AC785C43155 + diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeCCompiler.cmake b/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeCCompiler.cmake new file mode 100644 index 00000000..6c09603b --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeCCompiler.cmake @@ -0,0 +1,68 @@ +set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "AppleClang") +set(CMAKE_C_COMPILER_VERSION "7.3.0.7030031") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") +set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") +set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") + +set(CMAKE_C_PLATFORM_ID "Darwin") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + +set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar") +set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib") +set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld") +set(CMAKE_COMPILER_IS_GNUCC ) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks") diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin b/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000000000000000000000000000000000000..4ce67243cd8ce0f48cf4b5ce80acf361f34e9b26 GIT binary patch literal 4728 zcmeHL&1(}u6rXKc)cR2s6h+Y>MQWkhXlolJmp0v+(2vwMg{YJtKVTnuGw=6i=Djz+oy*JD-#-sd zFeb$q+w5YDor4Ylykc=!j9rChp`6c;KUAJ53wiQ}MGC`X5yeSiBj*LBSO{w%&qPdIl(!|?&8qw${g;WF?K`&$TiceWGQ3_{M!reSvi9*wu{$GhYoA{>er z3F39Z^qABv6O0ViV*xl=5XUoWy*`$HY%05d#qe5d#qe5d#qe5d#qe z5d#qe5d*})Qg-V{_D#=yn0v|}@@#GFXSdv6drFf~w(RcreM~1~8_lha=4++7{OMg# za&uGp2e$rFm@8acbF8Py)H0o;Uh6s;kl;)`4fQ-Dm`UIJ{SVo#K21U&bJ(d#OycOT zW4vDFq9MwzBY0JmG-0vfdPz6f81=C{PykC)iWvKT1H<-B*q#7-LW}L*jU06GAkG1= z#3c5md$UOER7nB@)lBvQv_F8!N4;LVpC>$rp^dv?$Kh)Wt!p&+av64?)N0bmJxCZu zQXfw^?X7q6PXM=mtpIVqGc?Pknw$}}TFH{j_0n@84=2VF_hh?TvV`xMH8r;;Y?)uY*VSmP79M48D;wyJxQ=P*h)-bX5VeiuU0HSY znpP~EnvlKNQ;2J~%tCz)#`v_t3k#2VCO%JS64;Z zv4;%Psv~P7HOfavTG2v9n~ZyJ!22&F^al7b@8y_X-f3#)x$U?rSMk3H9+oG60p>IO AZ~y=R literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeSystem.cmake b/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeSystem.cmake new file mode 100644 index 00000000..78957cc2 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Darwin-15.6.0") +set(CMAKE_HOST_SYSTEM_NAME "Darwin") +set(CMAKE_HOST_SYSTEM_VERSION "15.6.0") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Darwin-15.6.0") +set(CMAKE_SYSTEM_NAME "Darwin") +set(CMAKE_SYSTEM_VERSION "15.6.0") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 00000000..512e3606 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,561 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" + +#elif defined(__ARMCC_VERSION) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(SDCC) +# define COMPILER_ID "SDCC" + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +#if !defined(__STDC__) +# if defined(_MSC_VER) && !defined(__clang__) +# define C_DIALECT "90" +# else +# define C_DIALECT +# endif +#elif __STDC_VERSION__ >= 201000L +# define C_DIALECT "11" +#elif __STDC_VERSION__ >= 199901L +# define C_DIALECT "99" +#else +# define C_DIALECT "90" +#endif +const char* info_language_dialect_default = + "INFO" ":" "dialect_default[" C_DIALECT "]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC new file mode 100755 index 0000000000000000000000000000000000000000..9b37411cbe3dd4ce5c881365cea5c3a3233ff53d GIT binary patch literal 9104 zcmeHN&x;&I6s}G-xNJ7=h`S^q8#9I=QAl^MlVqcw*4a&Fh}jLgtBXS@dZuea!|dYa9_gQ8H6d0p>&)%EJt z*EP`ny1)DF*WaID%sR-}?g7Tw474)A*lkvY#n^FZ1IqdJr7J6Mue`oS-f^+U;l7CC ze1H=e{EXNzDc(15Ig!S5rakR~O9=#VtJ`bX;7|wFM z&s99VUc%*^bS!G=I^2hHzPz-)L>?vJd+a*s>ruE4*dxPp&~om3nWqOoK3-Lyf;cq( zaWdLxuQgY%t}Hk89;ue{0w(!b1*82T^Oj!5PGcXtWLFuRRKES1N%Z35v<<7!X{eK@i4z8G$G;i+z$7Q2l*g@4f@?p0yYShU zgZq1pU+y-~z$Y)k;VC3F#a_@DEy-D=OykP?oaVU%r9RpZ*3=%hnKhal^S^O3%|zdR z)kYpc8z(`YgVKCwt3&>tSD5%QVi+(C7zPXjh5^HXVZbn882Aq|u+jMN$42Ly#+@Ul zaHl@=VA^WjnVXm9>;Y>J{-ero{m{5Ow~ZytJeaM>o45yOCCz%XDKFbo(53GHFkl!k3>XIf-wZr;nyt$f zSe*BJT@x*S{q&AgzrQBDii5^4!LGumpeD4OW^^q&%@ z4-oKD6ejyZ;Yo$RQn;e`#!;4Mae^X}1n2%j+He<~b{>TOW+(QAQ@`fDBQB#>l{z(h(SFgXtI}1|uRBck z)<-V8^Y2VNnz3%nWSwQv&b!6rlz*+gjbd4PE<#NWOWwJ3kzYJNTvajenDM?BL`;4V wp$ljV>AISNxc047I?(GVC7fzc2c4S^9G0szu10!9D; literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap new file mode 100644 index 0000000000000000000000000000000000000000..dc511c473bd75d50535b7973d9c1434f871ade3c GIT binary patch literal 1561 lcmXR&%*|kAU|^770}?>c047I?(GVC7fzc2c4S^9G0szu10!9D; literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap new file mode 100644 index 0000000000000000000000000000000000000000..dd8b535d60fcd26f3dd116d7f78c86c46133d0f5 GIT binary patch literal 121 XcmXR&%*|kAU|^^KVi4efP_!oj{xJe5 literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap new file mode 100644 index 0000000000000000000000000000000000000000..dc511c473bd75d50535b7973d9c1434f871ade3c GIT binary patch literal 1561 lcmXR&%*|kAU|^770}?>c047I?(GVC7fzc2c4S^9G0szu10!9D; literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap new file mode 100644 index 0000000000000000000000000000000000000000..dc511c473bd75d50535b7973d9c1434f871ade3c GIT binary patch literal 1561 lcmXR&%*|kAU|^770}?>c047I?(GVC7fzc2c4S^9G0szu10!9D; literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap new file mode 100644 index 0000000000000000000000000000000000000000..dc511c473bd75d50535b7973d9c1434f871ade3c GIT binary patch literal 1561 lcmXR&%*|kAU|^770}?>c047I?(GVC7fzc2c4S^9G0szu10!9D; literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d new file mode 100644 index 00000000..60877c58 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d @@ -0,0 +1,2 @@ +dependencies: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia new file mode 100644 index 0000000000000000000000000000000000000000..29ccd981d556c2209faad03fbb08ac99817fc0c7 GIT binary patch literal 220 zcmZ?qbaZFrVPG&|U|`^8N@2Rl_0)m?;RZ&|oP{z^66G#El)aPa*x!(ofZgaxNwRvwK^zHa+q>pfe|m5cVIyjKUCNYr~;_Zkx>!o4i*IcM(7+#7%W{!g6{(iG^>d}xsXx+ogxakLA5B`(>$gULh*ngeomGE-YcMv!Hd zoyoG6wLb9bp@9Y6m69yDcvn^kp_ccFQ?3tj%Sx5X#cV#qM$1}^=i&_V_$0^2sxVxk zIzMff?FFM{b$1SQF6c8XMw#CP9@Xp@#78yr65=c5OA85m@Q@4>StCUTCIx5o+Yf%sg!Zx~>?c!l9HwISYoC;1GvFy5t5O=MbpczhFf%8U1j z2k*OO;+2n0ESc{d;GdO2Lti0AJlV{dxajhZ0t+C4=k{`Guk(v>ols6B5)%#k{>pN-7vN@+X)JbQl zD~GdrSg4VSoLwF%6vv0U?IO05t#&arI>d51Yv&wnciI`TE4lJeYwKYO!@c*1NddX{ z*SlKP=MMa-1N?g)Tmw5Ca#GnWsf^_ zq_x%ENUhNZYKbaVu``b4*+(&MXY+6=3%i&}QFl}nowq94qEmezn|Ut{{9U;6Hny4K zjcK2&yjV5%Py1Y@r)q?!tGJ(yDfUhK*rCegD*1GHjo%DM0vp4>o@`ttSL4+&b_g@v zyXKX~ouOTR1EF@M&Kwn81gaVvcVjj_7${=EDds?thFXE6i|p`q&FEf zD*Q*#`+epnFjHN7$^D(Qw7TyC;C!vB3Q1V!K`<*$epFL>%Fa*i`EBpE?>`$m`SFR^ z*!&+aoO|l-7iT`YJ&G~9Q>M@^pi$nG4ON5YpGG61MM?isX+o&9Ab-s|m5Ig)gNW)* z`az|k*sRA{ck>`0qNVcqKR%QvwY3BWqPLLhVIq5jXMj-vUna=x4D_ E1(w<@S^xk5 literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList new file mode 100644 index 00000000..4486a9c3 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList @@ -0,0 +1 @@ +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat new file mode 100644 index 0000000000000000000000000000000000000000..8ced28988a6410d1ec0a47c8847005eb96444f00 GIT binary patch literal 28449 zcmdU&PjA~s5XF7&srd#0dT9?PEyr+zo)XAy(Kd#II0bSOR^&=zL~&W}(viM>mVcHz zt91Z7h37Sg0Fve4y_xyF<&u)VH-Ef;bNy?XKYwl?|MlDagMEB?ae97v zk-SJ|XXihh{FwfuWusG5RO_{>*6F%1n|7Ig(yB78QB5Jr{>ka|%sn`prOUP`^N*Rz zWjenWTlsrYN}aw)UMA=1TAWqpIeGSd*zbBX_YFzRGH0@07R%d%HgX5i%nw$dy;7~%C52UdQ`cpY z2~(&_r+p|AQP-B;%E-!Si~OA|RV|zJT`A1U0Fhz6S`X+zkb@&5xEM@Em|?6BD|-QiI|8FBVER4(LDAgs<7%hm2QFaP z2ZP|+=c`6$kUh|(i{gGVfZ6{{@__m&`$s-t^iMum*ZjQDwJ_O+cg>$v0kgMj{v?ke ze-a1O?zum50iu3#!OQ%i%$a%b6an+@Sog*9?rnNuK+S}4-*ptJ=WxiFm( zj04FaVaPz&>5qzrL;zBIM89)^1s_D8s#e9iZTc^JVE7LlK#vJoUIupgIucfEdBXfJ}rp1zXuv67wd-C=E?QP(CCJxGqF# z2&`c95X^-)5zO~~84n6O?D>K#8WI6W?GgRX1r~fa2xjI*Y2T@XT$;7_t?HzqM}g4; z@R|~?3vmwUK)_+ZVOdG@Sv6ZoB%C%h6V3!M6wU&m4^b*YFW6W(FNiCvqqf}JyR>P0 z?>1yWya@my{#xr-S_0WhMP2}%`C4|4$MwGmkv9cNlQPBXfXUDx4d8<$hnA1Y3#D2VHyjk4d8*~B4_~Q6a(0YI2U6(hM9nK5sZd+%{Gn5n7^4lreaWrW`Y(E zNd&A1Q68uhY#QiLn6hB+HN$(B-3emI_oeaz531O6?hSzO_MK;=+WsXJ<}>8B>NQbp rlY+VNM%7ITCmvvslMyg+zOR{A?@kayxG$9#Z&1aaZEpYsw(I;CF8F7s literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh new file mode 100755 index 00000000..7fdbcd1b --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo "GCC_VERSION=$GCC_VERSION" diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..c90b8b850562b913e98302db1b34e83bbf82e081 GIT binary patch literal 31963 zcmeHwYm6M(bzb*yhs)(-`5bci+~#n}<&s(P%PXQ*Y98-zcGUAJ!Ex^?fl=X~co=iW{%yU@{JtnR2%E-&BnU#(BbuJXJd2K_tNoqt!AUM*=e?` zM$I>Rf-WWJ`tVWvV>se_`RM9qwN_a!H!G&^$WbL@JTjBjnrZo78J!Bw1Sfq*k15T1 z3q|czMe+F$b?PnO@spmiV8!a7e9LJ2UVVA3S*uXLPL8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Ummp6N!D1;AJ3(;J35uMz@p5;p33?CP6M%~3EaCz@?1e91><&hX?33`!ROBo(As+=s;Q1=jW_$gw zQbG@c6WrU@ocuI6xo{Kced7m4S0hj#=zw6K$HFYB!0*er-qjA-t}JJz5BCv z@Xwp4IXp_QJ8FHB=Ns{Dv-qvOET1!g0z`Wl&^)LUZ!a#EkN2Q&T|GV3M1BoFzr|*w zz4=VBX%9mpf?8alm@Cg<(}3UMVR7`Hjc}OT8*ITj2;1I{CkO#<9m z-mp9)sjv{jV=h6D)--)7N!m4NuUV$824t#wQvCt;e+`*c%dlk(^$kyuJeKtd=hY;u zJ7y(`;Fs04vAZio+7g~4_XdVwM2<6>K-m5!!272B%CTcGNa3-|g@4(<49oVCDd)NdEER_vI8xoNtD6#{%U| ztJACptPQhP3s~%zX9I804SuZD8XX>Y_|9Kdre|lSVhJTV6P}us{1<(`{|hDd82A7H literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph~ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/dgph~ new file mode 100644 index 0000000000000000000000000000000000000000..a058195dee8179083b04cba18971886e645b2075 GIT binary patch literal 159 zcmX|)y$*sf7yv(1uois>UO?;z29?cV{25GKOk6>lTCJ3{<^9D$x4TdLLV_`s?Y=qE_fMFn{dvq0yrcbLI*EwxuslcCob^iB& r{*WPzY1K(p-|o8RKxlC;UwkhWw=nV3coio=!$QB?KABTpc>Ntd+G{F0 literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj new file mode 100644 index 00000000..e799f352 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj @@ -0,0 +1,111 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + + 2C18F0B615DC1E0300593670 = {isa = PBXBuildFile; fileRef = 2C18F0B415DC1DC700593670; }; + 2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = sourcecode.c.c; path = CMakeCCompilerId.c; sourceTree = ""; }; + 08FB7794FE84155DC02AAC07 = { + isa = PBXGroup; + children = ( + 2C18F0B415DC1DC700593670, + ); + name = CompilerIdC; + sourceTree = ""; + }; + 8DD76FA90486AB0100D96B5E = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB928508733DD80010E9CD; + buildPhases = ( + 2C18F0B515DC1DCE00593670, + 2C8FEB8E15DC1A1A00E56A5D, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CompilerIdC; + productName = CompilerIdC; + productType = "com.apple.product-type.tool"; + }; + 08FB7793FE84155DC02AAC07 = { + isa = PBXProject; + buildConfigurationList = 1DEB928908733DD80010E9CD; + compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + en, + ); + mainGroup = 08FB7794FE84155DC02AAC07; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76FA90486AB0100D96B5E, + ); + }; + 2C8FEB8E15DC1A1A00E56A5D = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "echo \"GCC_VERSION=$GCC_VERSION\""; + showEnvVarsInLog = 0; + }; + 2C18F0B515DC1DCE00593670 = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2C18F0B615DC1E0300593670, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1DEB928608733DD80010E9CD = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = CompilerIdC; + }; + name = Debug; + }; + 1DEB928A08733DD80010E9CD = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + CODE_SIGNING_REQUIRED = NO; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; + SYMROOT = .; + + + + SDKROOT = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"; + }; + name = Debug; + }; + 1DEB928508733DD80010E9CD = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB928608733DD80010E9CD, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 1DEB928908733DD80010E9CD = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB928A08733DD80010E9CD, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + }; + rootObject = 08FB7793FE84155DC02AAC07; +} diff --git a/tutorial01/buildXcode/CMakeFiles/CMakeOutput.log b/tutorial01/buildXcode/CMakeFiles/CMakeOutput.log new file mode 100644 index 00000000..f254972d --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/CMakeOutput.log @@ -0,0 +1,272 @@ +The system is: Darwin - 15.6.0 - x86_64 +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: +Build flags: +Id flags: + +The output was: +0 +2017-01-18 16:14:03.150 xcodebuild[18005:1653293] Failed to locate a valid instance of CoreSimulatorService in the bootstrap. Adding it now. +=== BUILD TARGET CompilerIdC OF PROJECT CompilerIdC WITH THE DEFAULT CONFIGURATION (Debug) === + +Check dependencies + +Write auxiliary files +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh +chmod 0755 /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap + +CompileC CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -fvisibility=hidden -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o + +Ld CompilerIdC normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList -mmacosx-version-min=10.11 -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC + +PhaseScriptExecution Run\ Script CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC + /bin/sh -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh +GCC_VERSION=com.apple.compilers.llvm.clang.1_0 + +** BUILD SUCCEEDED ** + + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC" + +The C compiler identification is AppleClang, found in "/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CompilerIdC/CompilerIdC" + +Determining if the C compiler works passed with the following output: +Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_45406" "-configuration" "Debug" +=== BUILD TARGET cmTC_45406 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/cmTC_45406.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/testCCompiler.o testCCompiler.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/testCCompiler.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/testCCompiler.dia -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/testCCompiler.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/testCCompiler.o + +Ld Debug/cmTC_45406 normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/cmTC_45406.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45406.build/Objects-normal/x86_64/cmTC_45406_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_45406 + +** BUILD SUCCEEDED ** + + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_d40ab" "-configuration" "Debug" +=== BUILD TARGET cmTC_d40ab OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.o + +Ld Debug/cmTC_d40ab normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab +Apple LLVM version 7.3.0 (clang-703.0.31) +Target: x86_64-apple-darwin15.6.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug +@(#)PROGRAM:ld PROJECT:ld64-264.3.102 +configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS) +Library search paths: + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug + /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib +Framework search paths: + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug + /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/ + +** BUILD SUCCEEDED ** + + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_d40ab" "-configuration" "Debug"] + ignore line: [=== BUILD TARGET cmTC_d40ab OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===] + ignore line: [] + ignore line: [Check dependencies] + ignore line: [] + ignore line: [Write auxiliary files] + ignore line: [/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64] + ignore line: [write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList] + ignore line: [] + ignore line: [CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler] + ignore line: [ cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp] + ignore line: [ export LANG=en_US.US-ASCII] + ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/CMakeCCompilerABI.o] + ignore line: [] + ignore line: [Ld Debug/cmTC_d40ab normal x86_64] + ignore line: [ cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp] + ignore line: [ export MACOSX_DEPLOYMENT_TARGET=10.11] + ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab] + ignore line: [Apple LLVM version 7.3.0 (clang-703.0.31)] + ignore line: [Target: x86_64-apple-darwin15.6.0] + ignore line: [Thread model: posix] + ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] + reduced line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug] + to: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a ] + link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a ] + arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore + arg [-demangle] ==> ignore + arg [-dynamic] ==> ignore + arg [-arch] ==> ignore + arg [x86_64] ==> ignore + arg [-macosx_version_min] ==> ignore + arg [10.11.0] ==> ignore + arg [-syslibroot] ==> ignore + arg [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk] ==> ignore + arg [-o] ==> ignore + arg [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_d40ab] ==> ignore + arg [-filelist] ==> ignore + arg [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab.LinkFileList] ==> ignore + arg [-no_deduplicate] ==> ignore + arg [-v] ==> ignore + arg [-search_paths_first] ==> ignore + arg [-headerpad_max_install_names] ==> ignore + arg [-dependency_info] ==> ignore + arg [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d40ab.build/Objects-normal/x86_64/cmTC_d40ab_dependency_info.dat] ==> ignore + arg [-lSystem] ==> lib [System] + arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a] + Library search paths: [;/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib] + Framework search paths: [;/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/] + remove lib [System] + remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a] + collapse library dir [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug] ==> [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug], skipping non-system directory + collapse library dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib] + collapse framework dir [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug] ==> [/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug], skipping non-system directory + collapse framework dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks] + implicit libs: [] + implicit dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib] + implicit fwks: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_dac7d" "-configuration" "Debug" +=== BUILD TARGET cmTC_dac7d OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/cmTC_dac7d.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/feature_tests.o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -std=c11 -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/feature_tests.dia -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_dac7d normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/cmTC_dac7d.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dac7d.build/Objects-normal/x86_64/cmTC_dac7d_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_dac7d + +** BUILD SUCCEEDED ** + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_370af" "-configuration" "Debug" +=== BUILD TARGET cmTC_370af OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/cmTC_370af.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/feature_tests.o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -std=c99 -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/feature_tests.dia -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_370af normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/cmTC_370af.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_370af.build/Objects-normal/x86_64/cmTC_370af_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_370af + +** BUILD SUCCEEDED ** + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_0bf11" "-configuration" "Debug" +=== BUILD TARGET cmTC_0bf11 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64 +write-file /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/cmTC_0bf11.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/feature_tests.o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export LANG=en_US.US-ASCII + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/include -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/DerivedSources/x86_64 -I/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -std=c90 -MMD -MT dependencies -MF /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/feature_tests.dia -c /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_0bf11 normal x86_64 + cd /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp + export MACOSX_DEPLOYMENT_TARGET=10.11 + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -F/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/cmTC_0bf11.LinkFileList -mmacosx-version-min=10.11 -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0bf11.build/Objects-normal/x86_64/cmTC_0bf11_dependency_info.dat -o /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/CMakeTmp/Debug/cmTC_0bf11 + +** BUILD SUCCEEDED ** + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros diff --git a/tutorial01/buildXcode/CMakeFiles/TargetDirectories.txt b/tutorial01/buildXcode/CMakeFiles/TargetDirectories.txt new file mode 100644 index 00000000..bff7e345 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,4 @@ +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/leptjson_test.dir +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/leptjson.dir +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD.dir +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK.dir diff --git a/tutorial01/buildXcode/CMakeFiles/cmake.check_cache b/tutorial01/buildXcode/CMakeFiles/cmake.check_cache new file mode 100644 index 00000000..3dccd731 --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/tutorial01/buildXcode/CMakeFiles/feature_tests.bin b/tutorial01/buildXcode/CMakeFiles/feature_tests.bin new file mode 100755 index 0000000000000000000000000000000000000000..04ada18beafc0e6ec667916c9002f3439933213b GIT binary patch literal 4728 zcmeHL&1=+95Pxx7)cVnS5EZp7TD2`EzBFRg9rmVQ!qr3&(zuid8ZCN+7{?LjDl zhaSX&H;?`a;#mX_f*0`*@F<=Hk41|3n{3ie77JcH2pM*g`OUn{%=^7}nf>(h`>(x> zNg2l0_b|o|L;C@qvMemdPC$!L&gVyODtDEIIr1h&O2R)P$}^0GoR^fvQgTV~eNWQI zLX6&6CloCO!nrUTA_RD~=j-XlX5c>?E+O2}T25d+4msBy+iN9k&o>h0dk}s^IFT=& z3^wP!{m8NnZrK$lz{&l-3G)%BB!r3g-K53;^yKW6GCmn`2YwQ~g?u%_WW-w#4-=ok z`Q~>k689s|2r#8N4lM#7BKrtqOGtPC_B@nif2ede2chwLfPW=)-?C8pUiLj#u34IF ztkn!)l9N#C9-*3iMKh$p`7je(5_p|F}?{VJO9D zk5bo19H-Q(jrzCNJYm*zH*)C1(y$0}9!m8_@Ysj<#SjxesiX{~45SRC45SRC45SRC z45SRC4E&!Al#3f*i_bdGq5BWYHtk{K@m6ue|54Qat?suS`Frm-S~>RPISU|rQ+$HTDG zoU=}m0g1n9o}qbX5br?4*@x`rj3!}**_qOshQu*nXLx;?n+;RfDS6z~{Hm&ZXdgxHz$Bu$rcM?g?Mx8vYo;%_8{?T?7?P literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/CMakeFiles/feature_tests.c b/tutorial01/buildXcode/CMakeFiles/feature_tests.c new file mode 100644 index 00000000..afbc86df --- /dev/null +++ b/tutorial01/buildXcode/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 00000000..42203210 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 00000000..42203210 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 00000000..42203210 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 00000000..42203210 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make b/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make new file mode 100644 index 00000000..1083906f --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make @@ -0,0 +1,77 @@ +# Generated by CMake, DO NOT EDIT + +empty:= +space:= $(empty) $(empty) +spaceplus:= $(empty)\ $(empty) + +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/3.7.2/CMakeSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/feature_tests.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompiler.cmake.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCommonLanguageInclude.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCompilerIdDetection.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineCompilerABI.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineCompilerId.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeDetermineSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeFindBinUtils.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeGenericSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeLanguageInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeParseArguments.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeSystem.cmake.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeSystemSpecificInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeTestCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeTestCompilerCommon.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/AppleClang-C-FeatureTests.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/AppleClang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Bruce-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Clang.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Compaq-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/GNU-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/GNU.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/HP-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/MIPSpro-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/SDCC-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/SunPro-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/XL-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Compiler/zOS-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CompilerId/Xcode-3.pbxproj.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Internal/FeatureTesting.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/Darwin-AppleClang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/Darwin-Clang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/Darwin-Clang.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/Darwin-Initialize.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/Darwin.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/Platform/UnixPaths.cmake)) + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/cmake.check_cache: $(TARGETS) + /usr/local/Cellar/cmake/3.7.2/bin/cmake -H/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01 -B/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode diff --git a/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 00000000..39e8fc68 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make diff --git a/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 00000000..39e8fc68 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make diff --git a/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 00000000..39e8fc68 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make diff --git a/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 00000000..39e8fc68 --- /dev/null +++ b/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK + + +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeScripts/ReRunCMake.make diff --git a/tutorial01/buildXcode/Debug/leptjson_test b/tutorial01/buildXcode/Debug/leptjson_test new file mode 100755 index 0000000000000000000000000000000000000000..18cb4b58ad95a87c1f4051453c0a705254671883 GIT binary patch literal 15092 zcmeHO4{TM{8NZKm1?%7yTp2o*CsHUx+A;wVhqkUy9}$J|PhsNawePi5AFuWO(Gtei z*f!eTHEEpFxW&advzVxnESs^YtSC#-xY@YHe=}MY&27N&FqnWtyWj8pdGEYOi)1cY zOx|hkJ>U18^L^+0e&;*)op;acYhQf&)g;UEl~`8C1k1AgxE`@BtJ?~IvaIuPg>X5} zn!4+Pn}cgtQ<`6V`Rte+?Nnj_$5|h|d3}Btp&!VXso^d7X2BinEY<8dsc3sD*SFAK z$5aG^=A8@#h5STG%KJpC!(<&NnMyY#v!X(KCoh!trmG&B*9w!By_|ov=WL6{+M)?` zDzsO2k+fH(43H=8*>Z}1jji!yF5p6YwaVUPWq>^9a@^uLjmcD^CEl!h6xs_ZdoeYs ztlJPQ!SjZRJkS+4gJh>NRJ5GJw`Z}W}AnjOX zN(NpO#WPPBx1MXqiN~Dej_nPtF{dq+7}uUQX9e_*DODpilq4!_KOh^T0Nx1?gI+=$I&)JjDtECaI)R2%9wsOb}99tQ8A zKDHD$OzJtP*v_(1U7YL9xJ+EZ=9MAnpPeU>3?2(s02lG7PA3!9v6hDF$c|V9Jj?fS z(T}~KAD#W=16Q>_c z_kFpsG5)$8$y9WE)iqV{qoo0zQ0C&|cmu#AfO@{-iBGW<5hx;1M4*U35rHBCMFhT$ z2y6)Td>raLTs9ayN%y^5a0~UWcnV+NKJ%B^52JRM+%paL@^0Ke^DmgPL)4oNfVS@t z^sNW{mHT%4yvy0UJPcV+@OaNqsB?eWmY14Xs{FIM1Uwwio5zvXVw>vqVlU<$z{c9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ildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/Script-A27BDB4FF195400D84738D51.sh new file mode 100755 index 00000000..b9d53615 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/Script-A27BDB4FF195400D84738D51.sh @@ -0,0 +1,2 @@ +#!/bin/sh +make -C /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode -f /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.make$CONFIGURATION all diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/dgph b/tutorial01/buildXcode/leptjson_test.build/Debug/ZERO_CHECK.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..33cce1be771b33c83398d5a800e05d227a9e9d6a GIT binary patch literal 19325 zcmdU1OLH4nb_V2;CEJoMS)xSC65S>($rge-hiM(@eyVa=CZ7-bJ*^6A9+OBRd zRjY>!3v+Jj+r@5szWZ&v-AN_s-%c~~Zd8iAH(71%$L)5z;lyR<&}p>VPN&>zHQdOh z3rq2IJQZ7#Q_0kPXX{`ma{fyHIM_fVSG}X}Pnx@S$ElS%4sOt{H=Nq4 zW3$0UFNnBZy=r&st)?5f{ua9~jUh65Uc$^c&8{2y;H_XdksEK78g_TP)!BC=AHG+# ztGc-nZ+jm_ZuXpc>j$R1=0>KxlTyieDiwEYdy$DtUn+)fNvn#q7Ux41-j$tB{m`kI zt%FY0aU)kQ>rL6&x0^M?artM_zl{D?f-PmjU&sVs#zgNTvNypJCc*_wgv*y0F@I<>mj0n@uJ}Y`I`pKEd|NQ)? z|9bX6qyP2Yndm=7OS`t~@NX(dPW6BmL6C~}p7UeDIA}Po@V$KApZ)OPAD#X6fB)v+ z{{Gij{`u~M-~7LQkT=dHw(8A9{blrfIoJPq=0>R?mUFsMv}D!9>rG1&i%Lc} zg^kOmQW6cZtXO8*P)iw2*Y)f}L)XihF+I$kq9|FqX>C{~Lzg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$62oJ&D|axIelfun!I=CUf-5G0|x=3zODyO!-PWGu?|6-dn5fdmPuHk1Vrtd9=Q<9iV&(AJp z=B5{>(o>65iS$&0{!QP@q?aaN>U8ytWN8X_?;XqZ0vpRKoXwumWipFX8O)cMt2AaV zgK3+Yn}3C_a8AO%YVEm9n_Yuty8ey?dNL}zJwZ5my3e1RnV+0i=hW#XO-abPg{8#o d()3JXF`ZvX$a#5gX?8(bSe(x#;;~rl{{YZrk!An@ literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.LinkFileList b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.LinkFileList new file mode 100644 index 00000000..18bb9d54 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.LinkFileList @@ -0,0 +1 @@ +/Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.o diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.d b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.d new file mode 100644 index 00000000..76ded972 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.d @@ -0,0 +1,3 @@ +dependencies: \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/leptjson.c \ + /Users/tinggong/github/jsontutorial/json-tutorial/tutorial01/leptjson.h diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.dia b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/Objects-normal/x86_64/leptjson.dia new file mode 100644 index 0000000000000000000000000000000000000000..29ccd981d556c2209faad03fbb08ac99817fc0c7 GIT binary patch literal 220 zcmZ?qb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?nB^7|v) zXOic~Ris{+jF^_;%=-<2=OsKpRzXNA;JnFi>Egi%zXi@mcpW_NBDdjxgRt>k2N65} zDu_)cU)#ka5x&;sturo=arsbrhuz}$D)ba6s-tpH(MJ{iInDYTeMQm76-_I;LD4meRwyd&ewhCua3S)XQFKVr#}%c| zThcF3bX3t76&+M`yP~TV4JryE=F{&j;Uqx=7>t5aTZT@&^BX|7bK(c#JhdP?@y;2( zQSr{19R+VdA5``aDIP>LsA%15&9?360KS0Jb}F4t&n RUo%oW`8Awlocj&M{sYv$29f{( literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/dgph b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..0707666093c60329963e054bffd9219d3cc23808 GIT binary patch literal 8138 zcmd^^O>7&-6@Z77sej3q6~}hkSPLn3+cdL(q)5tufY4mY7D8EuDMxNz$!~dTL=bXpcz_y|lfu z7L~ZD4ix9j+qZ9L-h2DKp?3Y&4Mmi5VN>2=T;I}dl$i*IxHBFcjlaqY8XB#&E!(_nxF$iV z0oL-+$dpYy7F@H*2xX#48O&_!J{lXUyS5qJc0AqKLKBzjM!jGd+w=1(RUYJ-mtzk+ z&sXH&ui>D{R2iMVV7M(&_dJ`38rdec>k)t5b#02yj2FbLsNjO8$Vv`PWw;l^8I9E1 z4KzI6>qqD)dM27Zd!gFYePZ773EaT5Y+~LZdgxqgyaczi44ql7L(%z>&~D%Zx-eXZ zl_3tJ=;BDn9rWDDEn8=G*KbkurPHgru~xk+dXWfyIidOdsjBu0MVBHaMHUrBq~;bn zHyL{?az}+pjri6!F{^IdHwZ=36Sh_BDCuZ=YR%C|OLxrMgho0;qa6hU36pEJ*NMR> zcEB^($;*Sg#r$SIhpu$hTr@KUE>#H&0)c|p7VOu|V0Di&(n4Pws#rB&_xI3?<7L+; zRpM`3fj3{D<{GcUcEU16*IgO!++PPXSI%{Y70cOLhE=Wv<`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n0k1*HDvK#sErNd5}JQt9VzA^EQq%mh-u2T0yy zc;O-MdxGx*sp~Z$dH0Hc2ax=~5$ppp?tUQoe=PVzAo(H+dshNEPObPC2$ln>eh3_6Y6-Qr|N`j`J{({0|8B zNdI~u{_?*scq5R!{EZ}Uxw7+S3w{eoU6X<24KlZVBE(*xblw*z6WGH z-(@+@(?E{%fcWnb+ytclJAoW03dCQ2n_wf5{q;cdFAyvNl6NwYyknG|H&W08q^{5K z6G`6x@TU@b{-J)D^WPGD3COrV0?E(!4C3#AjNb&rqqL|8h(}e?dLSMJMRx#k>lNJ! z#F8%J4ilDAQ5_KHa-W#?MCrdw@PJ^y zV4vVx!5an31bu=4QwQ@#J--KLp<%s)Gap$P(E6%JmuXvH@>mn5ZGFUFFX#6GSvpb4 zx1T4X>_eq(y@Rh8+j{4IP;BcRd%P8o$!A%B%I|-xl%ZiWwWcKdZ%OtGN%r@WYz_bS z2peQ-OUy{@i7BtSZDuvO%XIo4kYV7z-L!>Y#mrEEQ#VeUeiBMur}ZF#BQ6``16?o0g-E0Cml literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..3f325888e8e231d005b5001eb725e1c2e487d439 GIT binary patch literal 10465 zcmds6eQaA-6~A`sd^Jg%q*>E+YadD5ef8RYw&RaN#~eFpLzAY|>C&+>@A(}c7!ArMmqXd0k_h9<^82s8~egtRg3AEarZO%p>50q4GZ zZ9nIuQWkfL$RCc+$35rVb3e}S9%oOTJ1qvovE6CY5=2pmgvEHLm^=|poe<;qAmj@n zU*LjGEF1Yd9aS%t484Tf+Docat`^X)o_lRWcdCwIsgi~Qy_Cdty1l#hH7ufz?m|`7 zl#8;V5aerfDkkdc*NExRF?omBPEfHOkSs|S+TBq!G=;kD@s}1+@1dexOvv)m_;|z? z?~6NT%(>4rEip|0N;>NEWze2s*{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Y A#sB~S literal 0 HcmV?d00001 diff --git a/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph~ b/tutorial01/buildXcode/leptjson_test.build/Debug/leptjson_test.build/dgph~ new file mode 100644 index 0000000000000000000000000000000000000000..8da71b75639ebfd61c34e184f6a91193d8355f7c GIT binary patch literal 10465 zcmds6Yiu0V6~4R9`V~8g?U*qjKx4YKMVw$J09bMCp1^W8JqQ|C^L!EkhU+Oz~w6e3|U-YF(ejHgbB@w*Z7g^(|B z!6ufC{GE=fmr90SLT&9O)hSmCXjjiYwxK&!$FNjMLxEmO;yT^lUHdmIqK@uDRn?S> zvY`;gv;o>CiEGhuBU~u^o^sNfz4OQ8YA#y6y3o7E$lvqFhYK@=`1ovBi7i zjv00CHBCzl)1Q)#_V_Yr?~rU%f|6-!B$y>jL^Dic%^QYhqkTPz;CN8PiL4kFqo^;y zqUa1{NugRoodeBrxPhYmT-rZ0SC%ZIoU;fxFjb8xr-|eS=j%y>J5`n()zEEppv$#O zV?aZl8ORLL9UC3&s)vJyyUuBnQ#7oKjSlUdk>uIAi$RmK(6t`T>vqj$&)DcNR}#ZP zQ4HG3A{yKN4uMM83}u43-=J& zv9S)J!BQS;UrEOE@hBQ&Dh4{z2l31ihwcI!LRMk1ja>K8 zv{h{jiEY3|5h`Pzf=)p}!`*b@<+7y0vP6g6WyzAFRMni|itN;6DCXLTw-rwdZN>+o`q^e%irtwuEJ{}2mac@k=T4`Vs6pc(R_ z&DbhRiKP=By(i2H^W{;5{SPx*7lKZlWy4xz{KE}roKIHZw7YxUT~Lob-Eh?6DjRoA zV_fajuXAKNWeYBtb$lDnZoybt&nL2~t9&DQa^qN%%vZG=+`=|sL+LK5>ad%+3o2YO zU7@ezc*u{wdHMcV0>5v2<^lh4KYHv>Z@v(Cn-Vwp(R=T|`&{6)P9VPGN5A>kBR>iJ z_c|ah`O(+@^Zn-oANYZ|!;gOb);li*9v=nbA}5|217d*_KR67;1wVR`s=a+J5P5Fk z7gTMI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ggong.xcuserdatad/UserInterfaceState.xcuserstate b/tutorial01/buildXcode/leptjson_test.xcodeproj/project.xcworkspace/xcuserdata/tinggong.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..29a48ebe3a82d87f88c1083fb6145ef503a5e3cd GIT binary patch literal 17773 zcmcJ02Yi!N_y4`m=%!6~Mn{^}ku*)ybb%mU>`~fMHYIIC8z@OhQlPT#qo6EVZbXE# z6%`c`2MVGnDhh~uf}#j0DsDx8=RQx9wg|rO=ktI6@M)XeaqhY2o_o&soO^G5Ym3wC zvsg|dj2Ofs4)G|6|AYT?tZtUW<8``SV|DKOX^sY;cbv}dX=rvragEOBZjC|s=8ca; zu3j zAqSd@nou)xA~%|i=Ae0KA-V(IiS9yoqkGUgbT3+u?n4{U!{`yT8$F61Lyx09=n3>R zdImj<_M?O71#}XMinrnIcn98zAHWad-S|=b7~YEy;Dh)T{04p#zlGn$ z@8S3H$M_UJjX%d<;j{Qh{1g5e|AH?wm|>V0CYFg~;+X^{iP11xCYv!cIZR)sA9Fp^ zpDAGmGeejvrka_+Ok^6FX^e|;Gi}UVMqqAXZe?y`Zf7C zudKAFpiUMyxV&PF+cVwUYHx6qyBpeOI9xve$O$L~8MdQDBu5IQL@Jbok_k_ONH7T@ zp(KoiZ%3&}jnaSxInp5=i6FfMTmakz5jp%fOs3?Wu15Fl0UrAdN1d!+_wj1%^<{3C z&*N@sad_%V3yQ1*@+!)*%Zp0Nvu!1L`M_&wZgzP^Zeea-zNH{H&sHZ(0|FyGjSi2a zF~D~ZI^H^&srw+(@Ll7Kb~$IZIR-bvJe^aWFs>{WnwK>A!17(4Vx3Gu35wIGal2dU z?ViEjTBp}p-vTp|ch%YJOM6r)=FTlBE;gxit%dVV>bberyj+vI&}x}K-!EYc>WvIL zQ7*EgJY+-pr~nnBB2-KwNfeQhXc9wWNgRnM2|H0AkZ@nr4_%M?!>3YIMiN293Zf+G zSPHeUN4w@yUSP6==8Zg-eLB3cbl(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%zSKUP0MKUr_r&(gQ+ z=jj*diT+0Ya{Zn9d-Ut|_v<_KTlL%Zd-Qwt`}9xiU)CSdzotK`|3Lqd{uBLY`fv0X z_226+LC%LY@P=SRyg_5o8!`-8hBCtd!yv;@!*D~bVVq&2VX~pgu*Ptw;eg?Y;iBQk zbY;3W9e{XxR(fIjp!A{XBhp8u*QAe0AD=!ceM zru661UrRro!DQrT49uv{aA){3W@p@xu`uJtjKvwZWE{+RBjf#yk1{^ZIGu4O<7~#I zjGr@p%lI?n?@T6>%Z$#9%}mHtWKPSRo!Oo_FLPn$$;?xkpJ#rV`E^!7R#{d>)}XAR zS?jZQW<8koaMq*7Y-4X@nX$q+&^XvQ)L3I2V;pasXsk2Zjnj;6#)ZZe#ygC68SgRP zYrN06&A8LJ%lNQyxA8IKGsYK<$BiEtKQew|{LFaTc;5J}@q6PX<4?w4Ovn^rQkXO* zoylOzFlCwYOa-Q5Qy)`5Q-9N7QjK%GuxZJA^WsB z+T7nf++1m{GLJToHIFwpn48Vh%`S7RdA|8Z^CI)j=H=#<<~8Qq%ukvRn2(xIm`|GD zF@I?O*!-FKwE4XGSM%i@l*8tPt)%8AM`=Tzp@JdpEH&SN=GZ8>lG#`2xzlI3U1Zuc6y*0-$hSl_drv0kuVwEkfI$@-`D?>r`t z%L~dY&a26rkvA(($Xk?mOWv})Tk}@ut$W#- z$88_jKDM2={c8I=pULO*L-M2YWAfwk<@w5dZGKjMUVfj#jfI;FcNIQec(Cx5!nX@g z7oI6RTX??k+rsY)e=Nd9Tv2dQSW&McSy60Jd{OVBx}v2;j~6{#^kUJ`qGLtx7kyTA zrs&6_pNsx3W{SDupyH_Fq~g?KO|iZ>qu5w%F18ex77r{Q-Wkj>(qI1X9 + + + + BuildLocationStyle + UseTargetSettings + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 00000000..7cc8a618 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,39 @@ + + + + + + + + + + + + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ALL_BUILD.xcscheme b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ALL_BUILD.xcscheme new file mode 100644 index 00000000..b38fd593 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ALL_BUILD.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ZERO_CHECK.xcscheme b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ZERO_CHECK.xcscheme new file mode 100644 index 00000000..9a6bdc8c --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/ZERO_CHECK.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson.xcscheme b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson.xcscheme new file mode 100644 index 00000000..9279d9ee --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson_test.xcscheme b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson_test.xcscheme new file mode 100644 index 00000000..705afa79 --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/leptjson_test.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/xcschememanagement.plist b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 00000000..140957df --- /dev/null +++ b/tutorial01/buildXcode/leptjson_test.xcodeproj/xcuserdata/tinggong.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,52 @@ + + + + + SchemeUserState + + ALL_BUILD.xcscheme + + orderHint + 0 + + ZERO_CHECK.xcscheme + + orderHint + 1 + + leptjson.xcscheme + + orderHint + 2 + + leptjson_test.xcscheme + + orderHint + 3 + + + SuppressBuildableAutocreation + + 0F5097E220B447EBB43F8468 + + primary + + + 7383107915F749F1915E3EEE + + primary + + + E74F30DBE1E54AC785C43155 + + primary + + + F6595E301573412BB5CD97B9 + + primary + + + + + diff --git a/tutorial01/leptjson.c b/tutorial01/leptjson.c index 5299fe1d..dc0a26d9 100644 --- a/tutorial01/leptjson.c +++ b/tutorial01/leptjson.c @@ -24,9 +24,29 @@ static int lept_parse_null(lept_context* c, lept_value* v) { return LEPT_PARSE_OK; } +static int lept_parse_true(lept_context* c, lept_value* v){ + EXPECT(c, 't'); + if(c->json[0] != 'r' || c->json[1] != 'u' || c->json[2] != 'e') + return LEPT_PARSE_INVALID_VALUE; + c->json += 3; + v->type = LEPT_TRUE; + return LEPT_PARSE_OK; + +} + +static int lept_parse_false(lept_context* c, lept_value* v){ + EXPECT(c, 'f'); + if(c->json[0] != 'a' || c->json[1] != 'l' || c->json[2] != 's' || c->json[3] != 'e') + return LEPT_PARSE_INVALID_VALUE; + c->json += 4; + v->type = LEPT_FALSE; + return LEPT_PARSE_OK; +} static int lept_parse_value(lept_context* c, lept_value* v) { switch (*c->json) { case 'n': return lept_parse_null(c, v); + case 't': return lept_parse_true(c, v); + case 'f': return lept_parse_false(c ,v); case '\0': return LEPT_PARSE_EXPECT_VALUE; default: return LEPT_PARSE_INVALID_VALUE; } @@ -34,11 +54,19 @@ static int lept_parse_value(lept_context* c, lept_value* v) { int lept_parse(lept_value* v, const char* json) { lept_context c; + int parse_value; assert(v != NULL); c.json = json; v->type = LEPT_NULL; lept_parse_whitespace(&c); - return lept_parse_value(&c, v); + if((parse_value = lept_parse_value(&c, v)) == LEPT_PARSE_OK){ + lept_parse_whitespace(&c); + if (*c.json != '\0'){ + parse_value = LEPT_PARSE_ROOT_NOT_SINGULAR; + } + + } + return parse_value; } lept_type lept_get_type(const lept_value* v) { diff --git a/tutorial01/test.c b/tutorial01/test.c index e7672181..42ef4dfa 100644 --- a/tutorial01/test.c +++ b/tutorial01/test.c @@ -27,6 +27,20 @@ static void test_parse_null() { EXPECT_EQ_INT(LEPT_NULL, lept_get_type(&v)); } +static void test_parse_true(){ + lept_value v; + v.type = LEPT_NULL; + EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "true")); + EXPECT_EQ_INT(LEPT_TRUE, lept_get_type(&v)); +} + +static void test_parse_false(){ + lept_value v; + v.type = LEPT_NULL; + EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "false")); + EXPECT_EQ_INT(LEPT_FALSE, lept_get_type(&v)); +} + static void test_parse_expect_value() { lept_value v; @@ -59,6 +73,8 @@ static void test_parse_root_not_singular() { static void test_parse() { test_parse_null(); + test_parse_true(); + test_parse_false(); test_parse_expect_value(); test_parse_invalid_value(); test_parse_root_not_singular(); From fa8257a476cbe07a119fa0a9133c770027b9b8d1 Mon Sep 17 00:00:00 2001 From: arksha Date: Fri, 20 Jan 2017 11:53:15 -0800 Subject: [PATCH 2/7] 1.refactor lept_parse_true, lept_parse_false, lept_parse_null to lept_parse_literal 2.add test of subnormal of double number 3.verify more number cases to pase 4.handle over range numbers --- tutorial02/leptjson.c | 63 ++++++++++++++++++++++++------------------- tutorial02/test.c | 33 ++++++++++++++++------- 2 files changed, 58 insertions(+), 38 deletions(-) diff --git a/tutorial02/leptjson.c b/tutorial02/leptjson.c index 7693e43b..66979930 100644 --- a/tutorial02/leptjson.c +++ b/tutorial02/leptjson.c @@ -1,6 +1,8 @@ #include "leptjson.h" #include /* assert() */ #include /* NULL, strtod() */ +#include +#include #define EXPECT(c, ch) do { assert(*c->json == (ch)); c->json++; } while(0) @@ -15,39 +17,44 @@ static void lept_parse_whitespace(lept_context* c) { c->json = p; } -static int lept_parse_true(lept_context* c, lept_value* v) { - EXPECT(c, 't'); - if (c->json[0] != 'r' || c->json[1] != 'u' || c->json[2] != 'e') - return LEPT_PARSE_INVALID_VALUE; - c->json += 3; - v->type = LEPT_TRUE; - return LEPT_PARSE_OK; -} - -static int lept_parse_false(lept_context* c, lept_value* v) { - EXPECT(c, 'f'); - if (c->json[0] != 'a' || c->json[1] != 'l' || c->json[2] != 's' || c->json[3] != 'e') - return LEPT_PARSE_INVALID_VALUE; - c->json += 4; - v->type = LEPT_FALSE; - return LEPT_PARSE_OK; -} - -static int lept_parse_null(lept_context* c, lept_value* v) { - EXPECT(c, 'n'); - if (c->json[0] != 'u' || c->json[1] != 'l' || c->json[2] != 'l') - return LEPT_PARSE_INVALID_VALUE; - c->json += 3; - v->type = LEPT_NULL; +static int lept_parse_litral(lept_context* c, lept_value* v, const char* literal, lept_type type) { + size_t i; // in C, better to use size_t instead of int or unsigned for index and array's length + EXPECT(c, literal[0]); + for (i = 0; literal[i + 1]; i++){ + if (c->json[i] != literal[i + 1]){ + return LEPT_PARSE_INVALID_VALUE; + } + } + c->json += i; + v->type = type; return LEPT_PARSE_OK; } static int lept_parse_number(lept_context* c, lept_value* v) { char* end; + const char* dot = c->json; + errno = 0; /* \TODO validate number */ v->n = strtod(c->json, &end); + if (c->json == end) return LEPT_PARSE_INVALID_VALUE; + if (c->json[0] == '+' || c->json[0] == '.'){ + return LEPT_PARSE_INVALID_VALUE; + } + if (c->json[0] == 'I' || c->json[0] == 'i' || c->json[0] == 'N' || c->json[0] == 'n'){ + return LEPT_PARSE_INVALID_VALUE; + } + while (*dot != '.'){ + dot++; + } + dot++; + if (*dot == '\0'){ + return LEPT_PARSE_INVALID_VALUE; + } + if ((v->n == HUGE_VAL || v->n == -HUGE_VALL) && errno == ERANGE ){ + return LEPT_PARSE_NUMBER_TOO_BIG; + } c->json = end; v->type = LEPT_NUMBER; return LEPT_PARSE_OK; @@ -55,11 +62,11 @@ static int lept_parse_number(lept_context* c, lept_value* v) { static int lept_parse_value(lept_context* c, lept_value* v) { switch (*c->json) { - case 't': return lept_parse_true(c, v); - case 'f': return lept_parse_false(c, v); - case 'n': return lept_parse_null(c, v); - default: return lept_parse_number(c, v); + case 't': return lept_parse_litral(c, v, "true", LEPT_TRUE); + case 'f': return lept_parse_litral(c, v, "false", LEPT_FALSE); + case 'n': return lept_parse_litral(c, v, "null", LEPT_NULL); case '\0': return LEPT_PARSE_EXPECT_VALUE; + default: return lept_parse_number(c, v); } } diff --git a/tutorial02/test.c b/tutorial02/test.c index 6e3ebed2..6d5f7af8 100644 --- a/tutorial02/test.c +++ b/tutorial02/test.c @@ -28,6 +28,13 @@ static void test_parse_null() { EXPECT_EQ_INT(LEPT_NULL, lept_get_type(&v)); } +static void test_parse_false() { + lept_value v; + v.type = LEPT_TRUE; + EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "false")); + EXPECT_EQ_INT(LEPT_FALSE, lept_get_type(&v)); +} + static void test_parse_true() { lept_value v; v.type = LEPT_FALSE; @@ -35,12 +42,6 @@ static void test_parse_true() { EXPECT_EQ_INT(LEPT_TRUE, lept_get_type(&v)); } -static void test_parse_false() { - lept_value v; - v.type = LEPT_TRUE; - EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "false")); - EXPECT_EQ_INT(LEPT_FALSE, lept_get_type(&v)); -} #define TEST_NUMBER(expect, json)\ do {\ @@ -70,6 +71,20 @@ static void test_parse_number() { TEST_NUMBER(1.234E+10, "1.234E+10"); TEST_NUMBER(1.234E-10, "1.234E-10"); TEST_NUMBER(0.0, "1e-10000"); /* must underflow */ + /* the smallest number > 1 */ + TEST_NUMBER(1.0000000000000002, "1.0000000000000002"); + /* minimum denormal */ + TEST_NUMBER( 4.9406564584124654e-324, "4.9406564584124654e-324"); + TEST_NUMBER(-4.9406564584124654e-324, "-4.9406564584124654e-324"); + /* Max subnormal double */ + TEST_NUMBER( 2.2250738585072009e-308, "2.2250738585072009e-308"); + TEST_NUMBER(-2.2250738585072009e-308, "-2.2250738585072009e-308"); + /* Min normal positive double */ + TEST_NUMBER( 2.2250738585072014e-308, "2.2250738585072014e-308"); + TEST_NUMBER(-2.2250738585072014e-308, "-2.2250738585072014e-308"); + /* Max double */ + TEST_NUMBER( 1.7976931348623157e+308, "1.7976931348623157e+308"); + TEST_NUMBER(-1.7976931348623157e+308, "-1.7976931348623157e+308"); } #define TEST_ERROR(error, json)\ @@ -89,7 +104,6 @@ static void test_parse_invalid_value() { TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "nul"); TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "?"); -#if 0 /* invalid number */ TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "+0"); TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "+1"); @@ -99,7 +113,6 @@ static void test_parse_invalid_value() { TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "inf"); TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "NAN"); TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "nan"); -#endif } static void test_parse_root_not_singular() { @@ -114,7 +127,7 @@ static void test_parse_root_not_singular() { } static void test_parse_number_too_big() { -#if 0 +#if 1 TEST_ERROR(LEPT_PARSE_NUMBER_TOO_BIG, "1e309"); TEST_ERROR(LEPT_PARSE_NUMBER_TOO_BIG, "-1e309"); #endif @@ -122,8 +135,8 @@ static void test_parse_number_too_big() { static void test_parse() { test_parse_null(); - test_parse_true(); test_parse_false(); + test_parse_true(); test_parse_number(); test_parse_expect_value(); test_parse_invalid_value(); From cf8c8da8d716701698f3eea5d94b09c1f82449ac Mon Sep 17 00:00:00 2001 From: arksha Date: Mon, 23 Jan 2017 13:47:11 -0800 Subject: [PATCH 3/7] 1.refactored lept_parse_number with one pointer add two macro ISDIGIT and ISDIGIT1TO9 changed strtod para to NULL --- tutorial02/leptjson.c | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/tutorial02/leptjson.c b/tutorial02/leptjson.c index 66979930..baaeb9b8 100644 --- a/tutorial02/leptjson.c +++ b/tutorial02/leptjson.c @@ -5,7 +5,8 @@ #include #define EXPECT(c, ch) do { assert(*c->json == (ch)); c->json++; } while(0) - +#define ISDIGIT1TO9(ch) ((ch) >= '1' && (ch) <= '9') +#define ISDIGIT(ch) ((ch) >= '0' && (ch) <= '9') typedef struct { const char* json; }lept_context; @@ -18,7 +19,7 @@ static void lept_parse_whitespace(lept_context* c) { } static int lept_parse_litral(lept_context* c, lept_value* v, const char* literal, lept_type type) { - size_t i; // in C, better to use size_t instead of int or unsigned for index and array's length + size_t i; /* in C, better to use size_t instead of int or unsigned for index and array's length */ EXPECT(c, literal[0]); for (i = 0; literal[i + 1]; i++){ if (c->json[i] != literal[i + 1]){ @@ -31,32 +32,32 @@ static int lept_parse_litral(lept_context* c, lept_value* v, const char* literal } static int lept_parse_number(lept_context* c, lept_value* v) { - char* end; - const char* dot = c->json; - errno = 0; - /* \TODO validate number */ - v->n = strtod(c->json, &end); - - if (c->json == end) - return LEPT_PARSE_INVALID_VALUE; - if (c->json[0] == '+' || c->json[0] == '.'){ - return LEPT_PARSE_INVALID_VALUE; + const char* p = c->json; + /* validate number */ + if (*p == '-') p++; + if (*p == '0') p++; + else { + if (!ISDIGIT1TO9(*p)) return LEPT_PARSE_INVALID_VALUE; + for (p++; ISDIGIT(*p); p++); } - if (c->json[0] == 'I' || c->json[0] == 'i' || c->json[0] == 'N' || c->json[0] == 'n'){ - return LEPT_PARSE_INVALID_VALUE; - } - while (*dot != '.'){ - dot++; + if (*p == '.'){ + p++; + if (!ISDIGIT(*p)) return LEPT_PARSE_INVALID_VALUE; + for (p++; ISDIGIT(*p); p++); } - dot++; - if (*dot == '\0'){ - return LEPT_PARSE_INVALID_VALUE; + if (*p == 'e' || *p == 'E'){ + p++; + if (*p == '-' || *p == '+') p++; + if (!ISDIGIT(*p)) return LEPT_PARSE_INVALID_VALUE; + for (p++; ISDIGIT(*p); p++); } + errno = 0; + v->n = strtod(c->json, NULL); if ((v->n == HUGE_VAL || v->n == -HUGE_VALL) && errno == ERANGE ){ return LEPT_PARSE_NUMBER_TOO_BIG; } - c->json = end; v->type = LEPT_NUMBER; + c->json = p; return LEPT_PARSE_OK; } From 2b57ce487182d59607ca8bd69b03f44b1a41ade0 Mon Sep 17 00:00:00 2001 From: arksha Date: Tue, 24 Jan 2017 12:28:13 -0800 Subject: [PATCH 4/7] 1.implement test_access_boolean,test_access_number 2.implement lept_get_boolean, lept_set_boolean, lept_get_number, lept_set_number 3.parse string,complete lept_parse_string 4.solved invalid string --- tutorial03/leptjson.c | 31 +++++++++++++++++++++++++++---- tutorial03/test.c | 22 +++++++++++++++++----- 2 files changed, 44 insertions(+), 9 deletions(-) diff --git a/tutorial03/leptjson.c b/tutorial03/leptjson.c index 07f7e2c7..dba7541e 100644 --- a/tutorial03/leptjson.c +++ b/tutorial03/leptjson.c @@ -99,11 +99,31 @@ static int lept_parse_string(lept_context* c, lept_value* v) { lept_set_string(v, (const char*)lept_context_pop(c, len), len); c->json = p; return LEPT_PARSE_OK; + case '\\': + switch (*p++) { + case '\"': PUTC(c, '\"'); break; + case '\\': PUTC(c, '\\'); break; + case '/': PUTC(c, '/'); break; + case 'b': PUTC(c, '\b'); break; + case 'f': PUTC(c, '\f'); break; + case 'n': PUTC(c, '\n'); break; + case 'r': PUTC(c, '\r'); break; + case 't': PUTC(c, '\t'); break; + default: + c->top = head; + return LEPT_PARSE_INVALID_STRING_ESCAPE; + } + break; case '\0': c->top = head; return LEPT_PARSE_MISS_QUOTATION_MARK; default: + if ((unsigned char)ch < 0x20){ + c->top = head; + return LEPT_PARSE_INVALID_STRING_CHAR; + } PUTC(c, ch); + } } } @@ -153,12 +173,13 @@ lept_type lept_get_type(const lept_value* v) { } int lept_get_boolean(const lept_value* v) { - /* \TODO */ - return 0; + assert(v != NULL && (v->type == LEPT_TRUE || v->type == LEPT_FALSE)); + return v->type == LEPT_TRUE; } void lept_set_boolean(lept_value* v, int b) { - /* \TODO */ + lept_free(v); + v->type = b ? LEPT_TRUE: LEPT_FALSE; } double lept_get_number(const lept_value* v) { @@ -167,7 +188,9 @@ double lept_get_number(const lept_value* v) { } void lept_set_number(lept_value* v, double n) { - /* \TODO */ + lept_free(v); + v->type = LEPT_NUMBER; + v->u.n = n; } const char* lept_get_string(const lept_value* v) { diff --git a/tutorial03/test.c b/tutorial03/test.c index ac788aca..f41f4761 100644 --- a/tutorial03/test.c +++ b/tutorial03/test.c @@ -107,7 +107,7 @@ static void test_parse_number() { static void test_parse_string() { TEST_STRING("", "\"\""); TEST_STRING("Hello", "\"Hello\""); -#if 0 +#if 1 TEST_STRING("Hello\nWorld", "\"Hello\\nWorld\""); TEST_STRING("\" \\ / \b \f \n \r \t", "\"\\\" \\\\ \\/ \\b \\f \\n \\r \\t\""); #endif @@ -163,7 +163,7 @@ static void test_parse_missing_quotation_mark() { } static void test_parse_invalid_string_escape() { -#if 0 +#if 1 TEST_ERROR(LEPT_PARSE_INVALID_STRING_ESCAPE, "\"\\v\""); TEST_ERROR(LEPT_PARSE_INVALID_STRING_ESCAPE, "\"\\'\""); TEST_ERROR(LEPT_PARSE_INVALID_STRING_ESCAPE, "\"\\0\""); @@ -172,7 +172,7 @@ static void test_parse_invalid_string_escape() { } static void test_parse_invalid_string_char() { -#if 0 +#if 1 TEST_ERROR(LEPT_PARSE_INVALID_STRING_CHAR, "\"\x01\""); TEST_ERROR(LEPT_PARSE_INVALID_STRING_CHAR, "\"\x1F\""); #endif @@ -188,12 +188,24 @@ static void test_access_null() { } static void test_access_boolean() { - /* \TODO */ /* Use EXPECT_TRUE() and EXPECT_FALSE() */ + lept_value v; + lept_init(&v); + lept_set_string(&v, "a", 1); + lept_set_boolean(&v, 1); + EXPECT_TRUE(lept_get_boolean(&v)); + lept_set_boolean(&v, 0); + EXPECT_FALSE(lept_get_boolean(&v)); + lept_free(&v); } static void test_access_number() { - /* \TODO */ + lept_value v; + lept_init(&v); + lept_set_string(&v, "a", 1); + lept_set_number(&v, 123.4); + EXPECT_EQ_DOUBLE(123.4, lept_get_number(&v)); + lept_free(&v); } static void test_access_string() { From 10a413bfd1e19ab79ef662a912cd0f6d99f5c683 Mon Sep 17 00:00:00 2001 From: arksha Date: Tue, 24 Jan 2017 14:58:05 -0800 Subject: [PATCH 5/7] 1.implement lept_parse_hex4, lept_encode_utf8 2.handled surrogate pair in case 'u' --- tutorial04/leptjson.c | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/tutorial04/leptjson.c b/tutorial04/leptjson.c index 0a123bf2..f720a549 100644 --- a/tutorial04/leptjson.c +++ b/tutorial04/leptjson.c @@ -91,19 +91,43 @@ static int lept_parse_number(lept_context* c, lept_value* v) { } static const char* lept_parse_hex4(const char* p, unsigned* u) { - /* \TODO */ + int i; + *u = 0; + for (i = 0;i < 4; i++){ + char ch = *p++; + *u <<= 4; + if (ch >= '0' && ch <= '9') *u |= ch - '0'; + else if (ch >= 'A' && ch <= 'F') *u |= ch - ('A' - 10); + else if (ch >= 'a' && ch <= 'f') *u |= ch - ('a' - 10); + else return NULL; + } return p; } static void lept_encode_utf8(lept_context* c, unsigned u) { - /* \TODO */ + if (u <= 0x7F){ + PUTC(c, u & 0xFF); + } else if (u <= 0x7FF){ + PUTC(c, 0xC0 | ((u >> 6) & 0xFF)); + PUTC(c, 0x80 | ( u & 0x3F)); + } else if (u <= 0xFFFF){ + PUTC(c, 0xE0 | ((u >> 12) & 0xFF)); + PUTC(c, 0x80 | ((u >> 6) & 0x3F)); + PUTC(c, 0x80 | ((u ) & 0x3F)); + } else { + assert(u <= 0x10FFFF); + PUTC(c, 0xF0 | ((u >> 18) & 0xFF)); + PUTC(c, 0x80 | ((u >> 12) & 0x3F)); + PUTC(c, 0x80 | ((u >> 6) & 0x3F)); + PUTC(c, 0x80 | ((u ) & 0x3F)); + } } #define STRING_ERROR(ret) do { c->top = head; return ret; } while(0) static int lept_parse_string(lept_context* c, lept_value* v) { size_t head = c->top, len; - unsigned u; + unsigned u, u2; const char* p; EXPECT(c, '\"'); p = c->json; @@ -128,7 +152,17 @@ static int lept_parse_string(lept_context* c, lept_value* v) { case 'u': if (!(p = lept_parse_hex4(p, &u))) STRING_ERROR(LEPT_PARSE_INVALID_UNICODE_HEX); - /* \TODO surrogate handling */ + if (u >= 0xD800 && u <= 0xDBFF){ + if (*p++ != '\\') + STRING_ERROR(LEPT_PARSE_INVALID_UNICODE_SURROGATE); + if (*p++ != 'u') + STRING_ERROR(LEPT_PARSE_INVALID_UNICODE_SURROGATE); + if (!(p = lept_parse_hex4(p, &u2))) + STRING_ERROR(LEPT_PARSE_INVALID_UNICODE_HEX); + if (u2 < 0xDC00 || u2 > 0xDFFF) + STRING_ERROR(LEPT_PARSE_INVALID_UNICODE_SURROGATE); + u = (((u - 0xD800) << 10) | (u2 - 0xDC00)) + 0x10000; + } lept_encode_utf8(c, u); break; default: From cbe674af10dc8185c282fb938ad0cbc28b223c4f Mon Sep 17 00:00:00 2001 From: arksha Date: Thu, 9 Feb 2017 17:14:21 -0800 Subject: [PATCH 6/7] add parse array part 1. add test_parse_array to test.c 2. handle white space in lept_parse_array 3. handle memory leak by adding case to lept_free, recursively free element in array 4. deal with memory when parse is not successful, use break instead of return error. Pop and free values on the stack --- tutorial05/leptjson.c | 36 +++++++++++++++++++++++++++++------- tutorial05/test.c | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 61 insertions(+), 10 deletions(-) diff --git a/tutorial05/leptjson.c b/tutorial05/leptjson.c index d2c83f34..93ab2843 100644 --- a/tutorial05/leptjson.c +++ b/tutorial05/leptjson.c @@ -184,9 +184,10 @@ static int lept_parse_string(lept_context* c, lept_value* v) { static int lept_parse_value(lept_context* c, lept_value* v); static int lept_parse_array(lept_context* c, lept_value* v) { - size_t size = 0; + size_t i, size = 0; int ret; EXPECT(c, '['); + lept_parse_whitespace(c); if (*c->json == ']') { c->json++; v->type = LEPT_ARRAY; @@ -198,11 +199,14 @@ static int lept_parse_array(lept_context* c, lept_value* v) { lept_value e; lept_init(&e); if ((ret = lept_parse_value(c, &e)) != LEPT_PARSE_OK) - return ret; + break; memcpy(lept_context_push(c, sizeof(lept_value)), &e, sizeof(lept_value)); size++; - if (*c->json == ',') + lept_parse_whitespace(c); + if (*c->json == ','){ c->json++; + lept_parse_whitespace(c); + } else if (*c->json == ']') { c->json++; v->type = LEPT_ARRAY; @@ -211,9 +215,14 @@ static int lept_parse_array(lept_context* c, lept_value* v) { memcpy(v->u.a.e = (lept_value*)malloc(size), lept_context_pop(c, size), size); return LEPT_PARSE_OK; } - else - return LEPT_PARSE_MISS_COMMA_OR_SQUARE_BRACKET; + else{ + ret = LEPT_PARSE_MISS_COMMA_OR_SQUARE_BRACKET; + break; + } } + for (i = 0; i < size; i++) + lept_free((lept_value*)lept_context_pop(c, sizeof(lept_value))); + return ret; } static int lept_parse_value(lept_context* c, lept_value* v) { @@ -250,12 +259,25 @@ int lept_parse(lept_value* v, const char* json) { } void lept_free(lept_value* v) { + size_t i; + assert(v != NULL); - if (v->type == LEPT_STRING) - free(v->u.s.s); + switch (v->type) { + case LEPT_STRING: + free(v->u.s.s); + break; + case LEPT_ARRAY: + for (i = 0; i < v->u.a.size; i++) + lept_free(&v->u.a.e[i]); + free(v->u.a.e); + break; + default: + break; + } v->type = LEPT_NULL; } + lept_type lept_get_type(const lept_value* v) { assert(v != NULL); return v->type; diff --git a/tutorial05/test.c b/tutorial05/test.c index 2d4dd21e..7e5a89c4 100644 --- a/tutorial05/test.c +++ b/tutorial05/test.c @@ -129,12 +129,41 @@ static void test_parse_string() { static void test_parse_array() { lept_value v; - + size_t i, j; + lept_init(&v); EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "[ ]")); EXPECT_EQ_INT(LEPT_ARRAY, lept_get_type(&v)); EXPECT_EQ_SIZE_T(0, lept_get_array_size(&v)); lept_free(&v); + + /* cannot use a single macro to check test, use API to check seperately */ + lept_init(&v); + EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "[ null , false , true , 123 , \"abc\" ]")); + EXPECT_EQ_INT(LEPT_ARRAY, lept_get_type(&v)); + EXPECT_EQ_SIZE_T(5, lept_get_array_size(&v)); + EXPECT_EQ_INT(LEPT_NULL, lept_get_type(lept_get_array_element(&v, 0))); + EXPECT_EQ_INT(LEPT_FALSE, lept_get_type(lept_get_array_element(&v, 1))); + EXPECT_EQ_INT(LEPT_TRUE, lept_get_type(lept_get_array_element(&v, 2))); + EXPECT_EQ_INT(LEPT_NUMBER, lept_get_type(lept_get_array_element(&v, 3))); + EXPECT_EQ_INT(LEPT_STRING, lept_get_type(lept_get_array_element(&v, 4))); + EXPECT_EQ_DOUBLE(123.0, lept_get_number(lept_get_array_element(&v, 3))); + EXPECT_EQ_STRING("abc", lept_get_string(lept_get_array_element(&v, 4)), lept_get_string_length(lept_get_array_element(&v, 4))); + lept_free(&v); + + lept_init(&v); + EXPECT_EQ_INT(LEPT_PARSE_OK, lept_parse(&v, "[[], [0], [0, 1], [0, 1, 2]]")); + for (i = 0; i < lept_get_array_size(&v); i++) { + lept_value *inside_v = lept_get_array_element(&v, i); + EXPECT_EQ_INT(LEPT_ARRAY, lept_get_type(inside_v)); + EXPECT_EQ_SIZE_T(i, lept_get_array_size(inside_v)); + for (j = 0; j < i; j++) { + lept_value *ele = lept_get_array_element(inside_v, j); + EXPECT_EQ_INT(LEPT_NUMBER, lept_get_type(ele)); + EXPECT_EQ_DOUBLE((double)j, lept_get_number(ele)); + } + } + lept_free(&v); } #define TEST_ERROR(error, json)\ @@ -167,7 +196,7 @@ static void test_parse_invalid_value() { TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "nan"); /* invalid value in array */ -#if 0 +#if 1 TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "[1,]"); TEST_ERROR(LEPT_PARSE_INVALID_VALUE, "[\"a\", nul]"); #endif @@ -229,7 +258,7 @@ static void test_parse_invalid_unicode_surrogate() { } static void test_parse_miss_comma_or_square_bracket() { -#if 0 +#if 1 TEST_ERROR(LEPT_PARSE_MISS_COMMA_OR_SQUARE_BRACKET, "[1"); TEST_ERROR(LEPT_PARSE_MISS_COMMA_OR_SQUARE_BRACKET, "[1}"); TEST_ERROR(LEPT_PARSE_MISS_COMMA_OR_SQUARE_BRACKET, "[1 2"); From df9bd0eb05b33caff815105fa12082daceec41cf Mon Sep 17 00:00:00 2001 From: arksha Date: Wed, 14 Jun 2017 16:17:42 -0700 Subject: [PATCH 7/7] finish tutorial 6 --- tutorial06/leptjson.c | 70 +++++++++++++++++++++++++++++++++++++++---- tutorial06/test.c | 4 +-- 2 files changed, 67 insertions(+), 7 deletions(-) diff --git a/tutorial06/leptjson.c b/tutorial06/leptjson.c index 64e3bd0d..63c12db6 100644 --- a/tutorial06/leptjson.c +++ b/tutorial06/leptjson.c @@ -127,8 +127,8 @@ static void lept_encode_utf8(lept_context* c, unsigned u) { #define STRING_ERROR(ret) do { c->top = head; return ret; } while(0) -static int lept_parse_string(lept_context* c, lept_value* v) { - size_t head = c->top, len; +static int lept_parse_string_raw(lept_context*c, char** str, size_t* len) { + size_t head = c->top; unsigned u, u2; const char* p; EXPECT(c, '\"'); @@ -137,8 +137,8 @@ static int lept_parse_string(lept_context* c, lept_value* v) { char ch = *p++; switch (ch) { case '\"': - len = c->top - head; - lept_set_string(v, (const char*)lept_context_pop(c, len), len); + *len = c->top - head; + *str = lept_context_pop(c, *len); c->json = p; return LEPT_PARSE_OK; case '\\': @@ -179,6 +179,16 @@ static int lept_parse_string(lept_context* c, lept_value* v) { PUTC(c, ch); } } + +} + +static int lept_parse_string(lept_context* c, lept_value* v) { + int ret; + char* s; + size_t len; + if ((ret = lept_parse_string_raw(c, &s, &len)) == LEPT_PARSE_OK) + lept_set_string(v, s, len); + return ret; } static int lept_parse_value(lept_context* c, lept_value* v); @@ -227,7 +237,7 @@ static int lept_parse_array(lept_context* c, lept_value* v) { } static int lept_parse_object(lept_context* c, lept_value* v) { - size_t size; + size_t size, i; lept_member m; int ret; EXPECT(c, '{'); @@ -242,9 +252,27 @@ static int lept_parse_object(lept_context* c, lept_value* v) { m.k = NULL; size = 0; for (;;) { + char* str; lept_init(&m.v); + lept_parse_whitespace(c); /* \todo parse key to m.k, m.klen */ + if(*c->json != '"'){ + ret = LEPT_PARSE_MISS_KEY; + break; + } + if((ret = lept_parse_string_raw(c, &str, &m.klen)) != LEPT_PARSE_OK) + break; + memcpy(m.k = (char* )malloc(m.klen + 1), str, m.klen); + m.k[m.klen] = '\0'; /* \todo parse ws colon ws */ + lept_parse_whitespace(c); + if (*c->json != ':') { + ret = LEPT_PARSE_MISS_COLON; + break; + } + c->json++; + lept_parse_whitespace(c); + /* parse value */ if ((ret = lept_parse_value(c, &m.v)) != LEPT_PARSE_OK) break; @@ -252,8 +280,33 @@ static int lept_parse_object(lept_context* c, lept_value* v) { size++; m.k = NULL; /* ownership is transferred to member on stack */ /* \todo parse ws [comma | right-curly-brace] ws */ + lept_parse_whitespace(c); + if (*c->json == ',') { + c->json++; + lept_parse_whitespace(c); + } + else if (*c->json == '}') { + size_t s = sizeof(lept_member) * size; + c->json++; + v->type = LEPT_OBJECT; + v->u.o.size = size; + memcpy(v->u.o.m = (lept_member*)malloc(s), lept_context_pop(c, s) , s); + return LEPT_PARSE_OK; + } + else { + ret = LEPT_PARSE_MISS_COMMA_OR_CURLY_BRACKET; + break; + } + } /* \todo Pop and free members on the stack */ + free(m.k); + for(i = 0; i < size; i++){ + lept_member* m = (lept_member*)lept_context_pop(c, sizeof(lept_member)); + free(m->k); + lept_free(&m->v); + } + v->type = LEPT_NULL; return ret; } @@ -303,6 +356,13 @@ void lept_free(lept_value* v) { lept_free(&v->u.a.e[i]); free(v->u.a.e); break; + case LEPT_OBJECT: + for (i = 0; i < v->u.o.size; i++){ + free(v->u.o.m[i].k); + lept_free(&v->u.o.m[i].v); + } + free(v->u.o.m); + break; default: break; } v->type = LEPT_NULL; diff --git a/tutorial06/test.c b/tutorial06/test.c index 8d332e45..75e3f082 100644 --- a/tutorial06/test.c +++ b/tutorial06/test.c @@ -352,7 +352,7 @@ static void test_parse() { test_parse_number(); test_parse_string(); test_parse_array(); -#if 0 +#if 1 test_parse_object(); #endif @@ -366,7 +366,7 @@ static void test_parse() { test_parse_invalid_unicode_hex(); test_parse_invalid_unicode_surrogate(); test_parse_miss_comma_or_square_bracket(); -#if 0 +#if 1 test_parse_miss_key(); test_parse_miss_colon(); test_parse_miss_comma_or_curly_bracket();