Initial commit from sysy-main

This commit is contained in:
Lixuanwang
2025-02-27 23:14:53 +08:00
commit cc523fd30b
1125 changed files with 257793 additions and 0 deletions

View File

@@ -0,0 +1,126 @@
# This is the CMakeCache file.
# For build in directory: /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# It was generated by CMake: /Applications/CLion.app/Contents/bin/cmake/mac/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
########################
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//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
//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//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/MacOSX12.3.sdk
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=googletest-populate
//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
//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
//Value Computed by CMake
googletest-populate_BINARY_DIR:STATIC=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
//Value Computed by CMake
googletest-populate_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
googletest-populate_SOURCE_DIR:STATIC=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
########################
# INTERNAL cache entries
########################
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
//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=22
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//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/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22
//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
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Darwin-21.6.0")
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
set(CMAKE_HOST_SYSTEM_VERSION "21.6.0")
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
set(CMAKE_SYSTEM "Darwin-21.6.0")
set(CMAKE_SYSTEM_NAME "Darwin")
set(CMAKE_SYSTEM_VERSION "21.6.0")
set(CMAKE_SYSTEM_PROCESSOR "arm64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1 @@
The system is: Darwin - 21.6.0 - arm64

View File

@@ -0,0 +1,11 @@
# Hashes of file build rules.
067004a841f487a6a325ec1c1520a049 CMakeFiles/googletest-populate
e9dd705ade1413b1bdb6eb2da2e806ea CMakeFiles/googletest-populate-complete
087371b598ed1eb1870fbd48e4e0c4bf googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build
4fbe22453b137a0a956f56dd0b7e0815 googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure
8abe10cba78fc17feb9d44e00e62de88 googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
f06415780f8bfb92b4b50bdfd1718550 googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
317b8eccf07ac6da7c5087c4c7da9d39 googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir
4cc223817a8704f5cb4295b91cf6c95c googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch
d87f5f3f44830490c8c56821bb136bcc googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test
cce6efbac86aca2d5265f7a2ffcd01fd googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update

View File

@@ -0,0 +1,42 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/ExternalProject-download.cmake.in"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/ExternalProject.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/Platform/Darwin-Initialize.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/Platform/Darwin.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.22/Modules/RepositoryInfo.txt.in"
"CMakeFiles/3.22.3/CMakeSystem.cmake"
"CMakeLists.txt"
"googletest-populate-prefix/tmp/googletest-populate-cfgcmd.txt.in"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-urlinfo.txt"
"googletest-populate-prefix/src/googletest-populate-stamp/download-googletest-populate.cmake"
"googletest-populate-prefix/tmp/googletest-populate-cfgcmd.txt"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/googletest-populate.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,112 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
# The command to remove a file.
RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/googletest-populate.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/googletest-populate.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/googletest-populate.dir
# All Build rule for target.
CMakeFiles/googletest-populate.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/googletest-populate.dir/build.make CMakeFiles/googletest-populate.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/googletest-populate.dir/build.make CMakeFiles/googletest-populate.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9 "Built target googletest-populate"
.PHONY : CMakeFiles/googletest-populate.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/googletest-populate.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles 9
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/googletest-populate.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles 0
.PHONY : CMakeFiles/googletest-populate.dir/rule
# Convenience name for target.
googletest-populate: CMakeFiles/googletest-populate.dir/rule
.PHONY : googletest-populate
# clean rule for target.
CMakeFiles/googletest-populate.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/googletest-populate.dir/build.make CMakeFiles/googletest-populate.dir/clean
.PHONY : CMakeFiles/googletest-populate.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,3 @@
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate.dir
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/edit_cache.dir
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/rebuild_cache.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1,18 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,46 @@
{
"sources" :
[
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate-complete.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test.rule"
},
{
"file" : "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update.rule"
}
],
"target" :
{
"labels" :
[
"googletest-populate"
],
"name" : "googletest-populate"
}
}

View File

@@ -0,0 +1,14 @@
# Target labels
googletest-populate
# Source files and their labels
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate-complete.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test.rule
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update.rule

View File

@@ -0,0 +1,159 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
# The command to remove a file.
RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# Utility rule file for googletest-populate.
# Include any custom commands dependencies for this target.
include CMakeFiles/googletest-populate.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/googletest-populate.dir/progress.make
CMakeFiles/googletest-populate: CMakeFiles/googletest-populate-complete
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
CMakeFiles/googletest-populate-complete: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Completed 'googletest-populate'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate-complete
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-done
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "No build step for 'googletest-populate'"
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure: googletest-populate-prefix/tmp/googletest-populate-cfgcmd.txt
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "No configure step for 'googletest-populate'"
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-urlinfo.txt
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Performing download step (download, verify and extract) for 'googletest-populate'"
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -P /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/download-googletest-populate.cmake
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -P /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/verify-googletest-populate.cmake
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -P /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/extract-googletest-populate.cmake
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "No install step for 'googletest-populate'"
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Creating directories for 'googletest-populate'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-src
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/tmp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "No patch step for 'googletest-populate'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "No test step for 'googletest-populate'"
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test
googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "No update step for 'googletest-populate'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update
googletest-populate: CMakeFiles/googletest-populate
googletest-populate: CMakeFiles/googletest-populate-complete
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test
googletest-populate: googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update
googletest-populate: CMakeFiles/googletest-populate.dir/build.make
.PHONY : googletest-populate
# Rule to build all files generated by this target.
CMakeFiles/googletest-populate.dir/build: googletest-populate
.PHONY : CMakeFiles/googletest-populate.dir/build
CMakeFiles/googletest-populate.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/googletest-populate.dir/cmake_clean.cmake
.PHONY : CMakeFiles/googletest-populate.dir/clean
CMakeFiles/googletest-populate.dir/depend:
cd /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles/googletest-populate.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/googletest-populate.dir/depend

View File

@@ -0,0 +1,17 @@
file(REMOVE_RECURSE
"CMakeFiles/googletest-populate"
"CMakeFiles/googletest-populate-complete"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-build"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-configure"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-download"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-install"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-mkdir"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-patch"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-test"
"googletest-populate-prefix/src/googletest-populate-stamp/googletest-populate-update"
)
# Per-language clean rules from dependency scanning.
foreach(lang )
include(CMakeFiles/googletest-populate.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,2 @@
# Empty custom commands generated dependencies file for googletest-populate.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for custom commands dependencies management for googletest-populate.

View File

@@ -0,0 +1,10 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7
CMAKE_PROGRESS_8 = 8
CMAKE_PROGRESS_9 = 9

View File

@@ -0,0 +1,27 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
cmake_minimum_required(VERSION 3.22.3)
# We name the project and the target for the ExternalProject_Add() call
# to something that will highlight to the user what we are working on if
# something goes wrong and an error message is produced.
project(googletest-populate NONE)
include(ExternalProject)
ExternalProject_Add(googletest-populate
"UPDATE_DISCONNECTED" "False" "URL" "https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip"
SOURCE_DIR "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-src"
BINARY_DIR "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
)

View File

@@ -0,0 +1,154 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
# The command to remove a file.
RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named googletest-populate
# Build rule for target.
googletest-populate: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 googletest-populate
.PHONY : googletest-populate
# fast build rule for target.
googletest-populate/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/googletest-populate.dir/build.make CMakeFiles/googletest-populate.dir/build
.PHONY : googletest-populate/fast
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... googletest-populate"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,44 @@
# Install script for directory: /Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@@ -0,0 +1,173 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
cmake_minimum_required(VERSION 3.5)
function(check_file_hash has_hash hash_is_good)
if("${has_hash}" STREQUAL "")
message(FATAL_ERROR "has_hash Can't be empty")
endif()
if("${hash_is_good}" STREQUAL "")
message(FATAL_ERROR "hash_is_good Can't be empty")
endif()
if("" STREQUAL "")
# No check
set("${has_hash}" FALSE PARENT_SCOPE)
set("${hash_is_good}" FALSE PARENT_SCOPE)
return()
endif()
set("${has_hash}" TRUE PARENT_SCOPE)
message(STATUS "verifying file...
file='/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip'")
file("" "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip" actual_value)
if(NOT "${actual_value}" STREQUAL "")
set("${hash_is_good}" FALSE PARENT_SCOPE)
message(STATUS " hash of
/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip
does not match expected value
expected: ''
actual: '${actual_value}'")
else()
set("${hash_is_good}" TRUE PARENT_SCOPE)
endif()
endfunction()
function(sleep_before_download attempt)
if(attempt EQUAL 0)
return()
endif()
if(attempt EQUAL 1)
message(STATUS "Retrying...")
return()
endif()
set(sleep_seconds 0)
if(attempt EQUAL 2)
set(sleep_seconds 5)
elseif(attempt EQUAL 3)
set(sleep_seconds 5)
elseif(attempt EQUAL 4)
set(sleep_seconds 15)
elseif(attempt EQUAL 5)
set(sleep_seconds 60)
elseif(attempt EQUAL 6)
set(sleep_seconds 90)
elseif(attempt EQUAL 7)
set(sleep_seconds 300)
else()
set(sleep_seconds 1200)
endif()
message(STATUS "Retry after ${sleep_seconds} seconds (attempt #${attempt}) ...")
execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep "${sleep_seconds}")
endfunction()
if("/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip" STREQUAL "")
message(FATAL_ERROR "LOCAL can't be empty")
endif()
if("https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip" STREQUAL "")
message(FATAL_ERROR "REMOTE can't be empty")
endif()
if(EXISTS "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip")
check_file_hash(has_hash hash_is_good)
if(has_hash)
if(hash_is_good)
message(STATUS "File already exists and hash match (skip download):
file='/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip'
=''"
)
return()
else()
message(STATUS "File already exists but hash mismatch. Removing...")
file(REMOVE "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip")
endif()
else()
message(STATUS "File already exists but no hash specified (use URL_HASH):
file='/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip'
Old file will be removed and new file downloaded from URL."
)
file(REMOVE "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip")
endif()
endif()
set(retry_number 5)
message(STATUS "Downloading...
dst='/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip'
timeout='none'
inactivity timeout='none'"
)
set(download_retry_codes 7 6 8 15)
set(skip_url_list)
set(status_code)
foreach(i RANGE ${retry_number})
if(status_code IN_LIST download_retry_codes)
sleep_before_download(${i})
endif()
foreach(url https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip)
if(NOT url IN_LIST skip_url_list)
message(STATUS "Using src='${url}'")
file(
DOWNLOAD
"${url}" "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip"
SHOW_PROGRESS
# no TIMEOUT
# no INACTIVITY_TIMEOUT
STATUS status
LOG log
)
list(GET status 0 status_code)
list(GET status 1 status_string)
if(status_code EQUAL 0)
check_file_hash(has_hash hash_is_good)
if(has_hash AND NOT hash_is_good)
message(STATUS "Hash mismatch, removing...")
file(REMOVE "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip")
else()
message(STATUS "Downloading... done")
return()
endif()
else()
string(APPEND logFailedURLs "error: downloading '${url}' failed
status_code: ${status_code}
status_string: ${status_string}
log:
--- LOG BEGIN ---
${log}
--- LOG END ---
"
)
if(NOT status_code IN_LIST download_retry_codes)
list(APPEND skip_url_list "${url}")
break()
endif()
endif()
endif()
endforeach()
endforeach()
message(FATAL_ERROR "Each download failed!
${logFailedURLs}
"
)

View File

@@ -0,0 +1,58 @@
# Make file names absolute:
#
get_filename_component(filename "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-subbuild/googletest-populate-prefix/src/e2239ee6043f73722e7aa812a459f54a28552929.zip" ABSOLUTE)
get_filename_component(directory "/Users/parrt/antlr/code/antlr4/runtime/Cpp/runtime/_deps/googletest-src" ABSOLUTE)
message(STATUS "extracting...
src='${filename}'
dst='${directory}'")
if(NOT EXISTS "${filename}")
message(FATAL_ERROR "error: file to extract does not exist: '${filename}'")
endif()
# Prepare a space for extracting:
#
set(i 1234)
while(EXISTS "${directory}/../ex-googletest-populate${i}")
math(EXPR i "${i} + 1")
endwhile()
set(ut_dir "${directory}/../ex-googletest-populate${i}")
file(MAKE_DIRECTORY "${ut_dir}")
# Extract it:
#
message(STATUS "extracting... [tar xfz]")
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xfz ${filename}
WORKING_DIRECTORY ${ut_dir}
RESULT_VARIABLE rv)
if(NOT rv EQUAL 0)
message(STATUS "extracting... [error clean up]")
file(REMOVE_RECURSE "${ut_dir}")
message(FATAL_ERROR "error: extract of '${filename}' failed")
endif()
# Analyze what came out of the tar file:
#
message(STATUS "extracting... [analysis]")
file(GLOB contents "${ut_dir}/*")
list(REMOVE_ITEM contents "${ut_dir}/.DS_Store")
list(LENGTH contents n)
if(NOT n EQUAL 1 OR NOT IS_DIRECTORY "${contents}")
set(contents "${ut_dir}")
endif()
# Move "the one" directory to the final directory:
#
message(STATUS "extracting... [rename]")
file(REMOVE_RECURSE ${directory})
get_filename_component(contents ${contents} ABSOLUTE)
file(RENAME ${contents} ${directory})
# Clean up:
#
message(STATUS "extracting... [clean up]")
file(REMOVE_RECURSE "${ut_dir}")
message(STATUS "extracting... done")

View File

@@ -0,0 +1,3 @@
repository='external project URL'
module='https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip'
tag=''