This commit is contained in:
2019-11-19 23:11:33 -07:00
parent 4ca4d8f02c
commit 7fba68cacd
141 changed files with 6090 additions and 0 deletions

View File

@@ -0,0 +1,132 @@
# This is the CMakeCache file.
# For build in directory: /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# 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=OFF
//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_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=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.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-download
//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
//Git command line client
GIT_EXECUTABLE:FILEPATH=/usr/local/bin/git
//Value Computed by CMake
googletest-download_BINARY_DIR:STATIC=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
//Value Computed by CMake
googletest-download_SOURCE_DIR:STATIC=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
########################
# INTERNAL cache entries
########################
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
//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=14
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=5
//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
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/ccmake
//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/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-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.14
//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
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Darwin-19.0.0")
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
set(CMAKE_HOST_SYSTEM_VERSION "19.0.0")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Darwin-19.0.0")
set(CMAKE_SYSTEM_NAME "Darwin")
set(CMAKE_SYSTEM_VERSION "19.0.0")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
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.14
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download")
# 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 - 19.0.0 - x86_64

View File

@@ -0,0 +1,11 @@
# Hashes of file build rules.
d060b623e79ee47d61c80a37d784352b CMakeFiles/googletest
f37dbbe2fb03d4265213bd91473996dc CMakeFiles/googletest-complete
d7e04e7156705e7cc4460bfc750a3445 googletest-prefix/src/googletest-stamp/googletest-build
a69e6939b5c26246d66fd0ca93ca22f1 googletest-prefix/src/googletest-stamp/googletest-configure
accab2c0f44acf70064ae8d45003f5d2 googletest-prefix/src/googletest-stamp/googletest-download
c73e15a6a15fc89c788324ca7382ce62 googletest-prefix/src/googletest-stamp/googletest-install
9d3849f385eb4895e2066f3b6fbee3bb googletest-prefix/src/googletest-stamp/googletest-mkdir
ca73a6dcb6b0a8a69fb421d362c63dce googletest-prefix/src/googletest-stamp/googletest-patch
574a794ab4690c235f6779dad4ff0e03 googletest-prefix/src/googletest-stamp/googletest-test
0410cdd1741e9f3acbe854cd6a7ec8e1 googletest-prefix/src/googletest-stamp/googletest-update

View File

@@ -0,0 +1,43 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# 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.14/Modules/CMakeGenericSystem.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeInitializeConfigs.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeSystemSpecificInformation.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeSystemSpecificInitialize.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/ExternalProject.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/FindGit.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/FindPackageMessage.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Platform/Darwin-Initialize.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Platform/Darwin.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Platform/UnixPaths.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/RepositoryInfo.txt.in"
"CMakeFiles/3.14.5/CMakeSystem.cmake"
"CMakeLists.txt"
"googletest-prefix/tmp/googletest-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-prefix/src/googletest-stamp/googletest-gitinfo.txt"
"googletest-prefix/tmp/googletest-cfgcmd.txt"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/googletest.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,113 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
# The main recursive clean target
clean:
.PHONY : clean
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
#=============================================================================
# Target rules for target CMakeFiles/googletest.dir
# All Build rule for target.
CMakeFiles/googletest.dir/all:
$(MAKE) -f CMakeFiles/googletest.dir/build.make CMakeFiles/googletest.dir/depend
$(MAKE) -f CMakeFiles/googletest.dir/build.make CMakeFiles/googletest.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9 "Built target googletest"
.PHONY : CMakeFiles/googletest.dir/all
# Include target in all.
all: CMakeFiles/googletest.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/googletest.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles 9
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/googletest.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles 0
.PHONY : CMakeFiles/googletest.dir/rule
# Convenience name for target.
googletest: CMakeFiles/googletest.dir/rule
.PHONY : googletest
# clean rule for target.
CMakeFiles/googletest.dir/clean:
$(MAKE) -f CMakeFiles/googletest.dir/build.make CMakeFiles/googletest.dir/clean
.PHONY : CMakeFiles/googletest.dir/clean
# clean rule for target.
clean: CMakeFiles/googletest.dir/clean
.PHONY : 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/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest.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,11 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of files for implicit dependencies of each language:
# 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/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest-complete.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-install.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-mkdir.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-download.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-update.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-patch.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-configure.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-build.rule"
},
{
"file" : "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-test.rule"
}
],
"target" :
{
"labels" :
[
"googletest"
],
"name" : "googletest"
}
}

View File

@@ -0,0 +1,14 @@
# Target labels
googletest
# Source files and their labels
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest-complete.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-install.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-mkdir.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-download.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-update.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-patch.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-configure.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-build.rule
/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-test.rule

View File

@@ -0,0 +1,147 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# Utility rule file for googletest.
# Include the progress variables for this target.
include CMakeFiles/googletest.dir/progress.make
CMakeFiles/googletest: CMakeFiles/googletest-complete
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-install
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-mkdir
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-download
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-update
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-patch
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-configure
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-build
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-install
CMakeFiles/googletest-complete: googletest-prefix/src/googletest-stamp/googletest-test
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Completed 'googletest'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest-complete
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-done
googletest-prefix/src/googletest-stamp/googletest-install: googletest-prefix/src/googletest-stamp/googletest-build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "No install step for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-install
googletest-prefix/src/googletest-stamp/googletest-mkdir:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Creating directories for 'googletest'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/tmp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E make_directory /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-mkdir
googletest-prefix/src/googletest-stamp/googletest-download: googletest-prefix/src/googletest-stamp/googletest-gitinfo.txt
googletest-prefix/src/googletest-stamp/googletest-download: googletest-prefix/src/googletest-stamp/googletest-mkdir
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Performing download step (git clone) for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -P /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-download
googletest-prefix/src/googletest-stamp/googletest-update: googletest-prefix/src/googletest-stamp/googletest-download
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Performing update step for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -P /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/tmp/googletest-gitupdate.cmake
googletest-prefix/src/googletest-stamp/googletest-patch: googletest-prefix/src/googletest-stamp/googletest-download
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "No patch step for 'googletest'"
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-patch
googletest-prefix/src/googletest-stamp/googletest-configure: googletest-prefix/tmp/googletest-cfgcmd.txt
googletest-prefix/src/googletest-stamp/googletest-configure: googletest-prefix/src/googletest-stamp/googletest-update
googletest-prefix/src/googletest-stamp/googletest-configure: googletest-prefix/src/googletest-stamp/googletest-patch
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "No configure step for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-configure
googletest-prefix/src/googletest-stamp/googletest-build: googletest-prefix/src/googletest-stamp/googletest-configure
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "No build step for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-build
googletest-prefix/src/googletest-stamp/googletest-test: googletest-prefix/src/googletest-stamp/googletest-install
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "No test step for 'googletest'"
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo_append
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E touch /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-test
googletest: CMakeFiles/googletest
googletest: CMakeFiles/googletest-complete
googletest: googletest-prefix/src/googletest-stamp/googletest-install
googletest: googletest-prefix/src/googletest-stamp/googletest-mkdir
googletest: googletest-prefix/src/googletest-stamp/googletest-download
googletest: googletest-prefix/src/googletest-stamp/googletest-update
googletest: googletest-prefix/src/googletest-stamp/googletest-patch
googletest: googletest-prefix/src/googletest-stamp/googletest-configure
googletest: googletest-prefix/src/googletest-stamp/googletest-build
googletest: googletest-prefix/src/googletest-stamp/googletest-test
googletest: CMakeFiles/googletest.dir/build.make
.PHONY : googletest
# Rule to build all files generated by this target.
CMakeFiles/googletest.dir/build: googletest
.PHONY : CMakeFiles/googletest.dir/build
CMakeFiles/googletest.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/googletest.dir/cmake_clean.cmake
.PHONY : CMakeFiles/googletest.dir/clean
CMakeFiles/googletest.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/googletest.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/googletest.dir/depend

View File

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

View File

@@ -0,0 +1,3 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14

View File

@@ -0,0 +1,3 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14

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,15 @@
cmake_minimum_required(VERSION 3.10)
project(googletest-download NONE)
include(ExternalProject)
ExternalProject_Add(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG master
SOURCE_DIR "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
BINARY_DIR "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)

View File

@@ -0,0 +1,148 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# 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:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
#=============================================================================
# Targets provided globally by CMake.
# 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 -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
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/Applications/CLion.app/Contents/bin/cmake/mac/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -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
# Build rule for target.
googletest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 googletest
.PHONY : googletest
# fast build rule for target.
googletest/fast:
$(MAKE) -f CMakeFiles/googletest.dir/build.make CMakeFiles/googletest.dir/build
.PHONY : googletest/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 "... rebuild_cache"
@echo "... edit_cache"
@echo "... googletest"
.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/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download
# 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/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@@ -0,0 +1,3 @@
repository='https://github.com/google/googletest.git'
module=''
tag=''

View File

@@ -0,0 +1,3 @@
repository='https://github.com/google/googletest.git'
module=''
tag=''

View File

@@ -0,0 +1,108 @@
if("master" STREQUAL "")
message(FATAL_ERROR "Tag for git checkout should not be empty.")
endif()
set(run 0)
if("/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitinfo.txt" IS_NEWER_THAN "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitclone-lastrun.txt")
set(run 1)
endif()
if(NOT run)
message(STATUS "Avoiding repeated git clone, stamp file is up to date: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitclone-lastrun.txt'")
return()
endif()
execute_process(
COMMAND ${CMAKE_COMMAND} -E remove_directory "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to remove directory: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src'")
endif()
set(git_options)
# disable cert checking if explicitly told not to do it
set(tls_verify "")
if(NOT "x" STREQUAL "x" AND NOT tls_verify)
list(APPEND git_options
-c http.sslVerify=false)
endif()
set(git_clone_options)
set(git_shallow "")
if(git_shallow)
list(APPEND git_clone_options --depth 1 --no-single-branch)
endif()
set(git_progress "")
if(git_progress)
list(APPEND git_clone_options --progress)
endif()
set(git_config "")
foreach(config IN LISTS git_config)
list(APPEND git_clone_options --config ${config})
endforeach()
# try the clone 3 times in case there is an odd git clone issue
set(error_code 1)
set(number_of_tries 0)
while(error_code AND number_of_tries LESS 3)
execute_process(
COMMAND "/usr/local/bin/git" ${git_options} clone ${git_clone_options} --origin "origin" "https://github.com/google/googletest.git" "googletest-src"
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug"
RESULT_VARIABLE error_code
)
math(EXPR number_of_tries "${number_of_tries} + 1")
endwhile()
if(number_of_tries GREATER 1)
message(STATUS "Had to git clone more than once:
${number_of_tries} times.")
endif()
if(error_code)
message(FATAL_ERROR "Failed to clone repository: 'https://github.com/google/googletest.git'")
endif()
execute_process(
COMMAND "/usr/local/bin/git" ${git_options} checkout master --
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to checkout tag: 'master'")
endif()
execute_process(
COMMAND "/usr/local/bin/git" ${git_options} submodule init
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to init submodules in: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src'")
endif()
execute_process(
COMMAND "/usr/local/bin/git" ${git_options} submodule update --recursive --init
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to update submodules in: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src'")
endif()
# Complete success, update the script-last-run stamp file:
#
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy
"/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitinfo.txt"
"/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitclone-lastrun.txt"
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to copy script-last-run stamp file: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-download/googletest-prefix/src/googletest-stamp/googletest-gitclone-lastrun.txt'")
endif()

View File

@@ -0,0 +1,160 @@
if("master" STREQUAL "")
message(FATAL_ERROR "Tag for git checkout should not be empty.")
endif()
execute_process(
COMMAND "/usr/local/bin/git" rev-list --max-count=1 HEAD
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
OUTPUT_VARIABLE head_sha
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(error_code)
message(FATAL_ERROR "Failed to get the hash for HEAD")
endif()
execute_process(
COMMAND "/usr/local/bin/git" show-ref master
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
OUTPUT_VARIABLE show_ref_output
)
# If a remote ref is asked for, which can possibly move around,
# we must always do a fetch and checkout.
if("${show_ref_output}" MATCHES "remotes")
set(is_remote_ref 1)
else()
set(is_remote_ref 0)
endif()
# Tag is in the form <remote>/<tag> (i.e. origin/master) we must strip
# the remote from the tag.
if("${show_ref_output}" MATCHES "refs/remotes/master")
string(REGEX MATCH "^([^/]+)/(.+)$" _unused "master")
set(git_remote "${CMAKE_MATCH_1}")
set(git_tag "${CMAKE_MATCH_2}")
else()
set(git_remote "origin")
set(git_tag "master")
endif()
# This will fail if the tag does not exist (it probably has not been fetched
# yet).
execute_process(
COMMAND "/usr/local/bin/git" rev-list --max-count=1 master
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
OUTPUT_VARIABLE tag_sha
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Is the hash checkout out that we want?
if(error_code OR is_remote_ref OR NOT ("${tag_sha}" STREQUAL "${head_sha}"))
execute_process(
COMMAND "/usr/local/bin/git" fetch
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to fetch repository 'https://github.com/google/googletest.git'")
endif()
if(is_remote_ref)
# Check if stash is needed
execute_process(
COMMAND "/usr/local/bin/git" status --porcelain
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
OUTPUT_VARIABLE repo_status
)
if(error_code)
message(FATAL_ERROR "Failed to get the status")
endif()
string(LENGTH "${repo_status}" need_stash)
# If not in clean state, stash changes in order to be able to be able to
# perform git pull --rebase
if(need_stash)
execute_process(
COMMAND "/usr/local/bin/git" stash save --all;--quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to stash changes")
endif()
endif()
# Pull changes from the remote branch
execute_process(
COMMAND "/usr/local/bin/git" rebase ${git_remote}/${git_tag}
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
# Rebase failed: Restore previous state.
execute_process(
COMMAND "/usr/local/bin/git" rebase --abort
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
)
if(need_stash)
execute_process(
COMMAND "/usr/local/bin/git" stash pop --index --quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
)
endif()
message(FATAL_ERROR "\nFailed to rebase in: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src/'.\nYou will have to resolve the conflicts manually")
endif()
if(need_stash)
execute_process(
COMMAND "/usr/local/bin/git" stash pop --index --quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
# Stash pop --index failed: Try again dropping the index
execute_process(
COMMAND "/usr/local/bin/git" reset --hard --quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
execute_process(
COMMAND "/usr/local/bin/git" stash pop --quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
# Stash pop failed: Restore previous state.
execute_process(
COMMAND "/usr/local/bin/git" reset --hard --quiet ${head_sha}
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
)
execute_process(
COMMAND "/usr/local/bin/git" stash pop --index --quiet
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
)
message(FATAL_ERROR "\nFailed to unstash changes in: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src/'.\nYou will have to resolve the conflicts manually")
endif()
endif()
endif()
else()
execute_process(
COMMAND "/usr/local/bin/git" checkout master
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to checkout tag: 'master'")
endif()
endif()
execute_process(
COMMAND "/usr/local/bin/git" submodule update --recursive --init
WORKING_DIRECTORY "/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src/"
RESULT_VARIABLE error_code
)
if(error_code)
message(FATAL_ERROR "Failed to update submodules in: '/Users/bradybodily/Repositories/CS3460/HW8/cmake-build-debug/googletest-src/'")
endif()
endif()