Finished HW3

This commit is contained in:
2019-09-27 23:21:56 -07:00
parent 2acbda9b5b
commit f80dc2c031
276 changed files with 11817 additions and 1167 deletions

1
Assignment2.cpp Submodule

Submodule Assignment2.cpp added at 188b633d5c

View File

@@ -1 +0,0 @@
Assignment2

View File

@@ -1,128 +0,0 @@
#include <iostream>
#include <random>
//
//If the default clang follows the the one true brace style is that not obviously the better brace style???
//
class DistributionPair
{
public:
DistributionPair(std::uint32_t minValue, std::uint32_t maxValue) :
minValue(minValue),
maxValue(maxValue),
count(0)
{
}
std::uint32_t minValue;
std::uint32_t maxValue;
std::uint32_t count;
};
std::vector<DistributionPair> generateUniformDistribution(std::uint32_t howMany, std::uint32_t min, std::uint32_t max, std::uint8_t numberBins);
std::vector<DistributionPair> generateNormalDistribution(std::uint32_t howMany, float mean, float stdev, std::uint8_t numberBins);
std::vector<DistributionPair> generatePoissonDistribution(std::uint32_t howMany, std::uint8_t howOften, std::uint8_t numberBins);
void plotDistribution(std::string title, const std::vector<DistributionPair>& distribution, const std::uint8_t maxPlotLineSize);
std::vector<DistributionPair> createBins (int min, int max, int binCount);
std::random_device randomDevice;
std::default_random_engine randomEngine(randomDevice());
int main() {
auto uniform = generateUniformDistribution(100000, 0, 79, 40);
plotDistribution("--- Uniform ---", uniform, 80);
auto normal = generateNormalDistribution(100000, 50, 5, 40);
plotDistribution("--- Normal ---", normal, 80);
auto poisson = generatePoissonDistribution(100000, 6, 40);
plotDistribution("--- Poisson ---", poisson, 80);
return 0;
}
std::vector<DistributionPair> generateUniformDistribution(std::uint32_t howMany, std::uint32_t min, std::uint32_t max, std::uint8_t numberBins){
std::uniform_int_distribution<int> distribution(min, max);
auto bins = createBins(min, max, numberBins);
for(int i = 0; i < howMany; i++){
int number = distribution(randomEngine);
bins[number].count ++;
}
return bins;
}
std::vector<DistributionPair> generateNormalDistribution(std::uint32_t howMany, float mean, float stdev, std::uint8_t numberBins){
int min = mean - (4 * stdev);
int max = mean + (4 * stdev) -1;
std::normal_distribution<double> distribution(mean, stdev);
auto bins = createBins(min, max, numberBins);
for(int i = 0; i < howMany; i++) {
double number = distribution(randomEngine);
int position = number - min / ((max - min) / float(numberBins));
if (position > numberBins - 1)
bins[numberBins - 1].count++;
else if (position < 0) {
bins[0].count++;
} else {
bins[position].count++;
}
}
return bins;
}
std::vector<DistributionPair> generatePoissonDistribution(std::uint32_t howMany, std::uint8_t howOften, std::uint8_t numberBins){
std::poisson_distribution<int> distribution(howOften);
int min = 0;
int max = numberBins - 1;
auto bins = createBins(min, max, numberBins);
for(int i = 0; i < howMany; i++){
int number = distribution(randomEngine);
//int position = number / (max / float(numberBins));
if (number > numberBins - 1)
bins[numberBins - 1].count++;
else if (number < 0) {
bins[0].count++;
} else {
bins[number].count++;
}
}
return bins;
}
std::vector<DistributionPair> createBins (int min, int max, int binCount){
std::vector<DistributionPair> myVector;
int difference = float(max - min + 1) / binCount;
for(int i = 0; i < binCount; i++){
DistributionPair dpair((min + i) * difference, (min + i) * difference + difference - 1);
myVector.push_back(dpair);
}
return myVector;
}
void plotDistribution(std::string title, const std::vector<DistributionPair>& distribution, const std::uint8_t maxPlotLineSize){
std::cout << title << std::endl;
auto max = 0;
for(auto currentBin : distribution){
if(currentBin.count > max)
max = currentBin.count;
}
for(auto currentBin : distribution){
int starCount = currentBin.count / float(max) * maxPlotLineSize;
std::cout << "[ " << currentBin.minValue << ", " << currentBin.maxValue << " ]" << " : ";
for(int i = 0; i < starCount; i++)
std::cout << "*";
std::cout << std::endl;
}
}

View File

@@ -1,31 +0,0 @@
cmake_minimum_required(VERSION 3.14)
project(Assignment2)
set(CMAKE_CXX_STANDARD 17)
set(SOURCE_FILES
Assignment2.cpp)
add_executable(hw Assignment2.cpp)
add_executable(RandDistributions ${SOURCE_FILES})
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
target_compile_options(RandDistributions PRIVATE /W4 /permissive-)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_compile_options(RandDistributions PRIVATE -Wall -Wextra -pedantic)
endif()
find_program(CLANG_FORMAT "clang-format")
if(CLANG_FORMAT)
unset(SOURCE_FILES_PATHS)
foreach(SOURCE_FILE ${SOURCE_FILES})
get_source_file_property(WHERE ${SOURCE_FILE} LOCATION)
set(SOURCE_FILES_PATHS ${SOURCE_FILES_PATHS} ${WHERE})
endforeach()
add_custom_target(
ClangFormatCOMMAND
${CLANG_FORMAT}
-i
-style=file
${SOURCE_FILES_PATHS})
add_dependencies(Assignment2 ClangFormat)
endif()

View File

@@ -1,143 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6"/>
<Project>
<Option title="Assignment2"/>
<Option makefile_is_custom="1"/>
<Option compiler="gcc"/>
<Option virtualFolders="CMake Files\;"/>
<Build>
<Target title="all">
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option type="4"/>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 all"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="ClangFormatCOMMAND">
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option type="4"/>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 ClangFormatCOMMAND"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="rebuild_cache">
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option type="4"/>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 rebuild_cache"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="edit_cache">
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option type="4"/>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 edit_cache"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="RandDistributions">
<Option output="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/RandDistributions" prefix_auto="0" extension_auto="0"/>
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option object_output="./"/>
<Option type="1"/>
<Option compiler="gcc"/>
<Compiler>
<Add directory="/Library/Developer/CommandLineTools/usr/include/c++/v1"/>
<Add directory="/usr/local/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/include"/>
<Add directory="/System/Library/Frameworks"/>
<Add directory="/Library/Frameworks"/>
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 RandDistributions"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="RandDistributions/fast">
<Option output="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/RandDistributions" prefix_auto="0" extension_auto="0"/>
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option object_output="./"/>
<Option type="1"/>
<Option compiler="gcc"/>
<Compiler>
<Add directory="/Library/Developer/CommandLineTools/usr/include/c++/v1"/>
<Add directory="/usr/local/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/include"/>
<Add directory="/System/Library/Frameworks"/>
<Add directory="/Library/Frameworks"/>
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 RandDistributions/fast"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="hw">
<Option output="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/hw" prefix_auto="0" extension_auto="0"/>
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option object_output="./"/>
<Option type="1"/>
<Option compiler="gcc"/>
<Compiler>
<Add directory="/Library/Developer/CommandLineTools/usr/include/c++/v1"/>
<Add directory="/usr/local/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/include"/>
<Add directory="/System/Library/Frameworks"/>
<Add directory="/Library/Frameworks"/>
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 hw"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="hw/fast">
<Option output="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/hw" prefix_auto="0" extension_auto="0"/>
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug"/>
<Option object_output="./"/>
<Option type="1"/>
<Option compiler="gcc"/>
<Compiler>
<Add directory="/Library/Developer/CommandLineTools/usr/include/c++/v1"/>
<Add directory="/usr/local/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include"/>
<Add directory="/Library/Developer/CommandLineTools/usr/include"/>
<Add directory="/System/Library/Frameworks"/>
<Add directory="/Library/Frameworks"/>
</Compiler>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 hw/fast"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
</Build>
<Unit filename="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/Assignment2.cpp">
<Option target="RandDistributions"/>
<Option target="hw"/>
</Unit>
<Unit filename="/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/CMakeLists.txt">
<Option virtualFolder="CMake Files\"/>
</Unit>
</Project>
</CodeBlocks_project_file>

View File

@@ -1,182 +0,0 @@
# 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/Assignment2.cpp
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug
#=============================================================================
# Target rules for target CMakeFiles/ClangFormatCOMMAND.dir
# All Build rule for target.
CMakeFiles/ClangFormatCOMMAND.dir/all:
$(MAKE) -f CMakeFiles/ClangFormatCOMMAND.dir/build.make CMakeFiles/ClangFormatCOMMAND.dir/depend
$(MAKE) -f CMakeFiles/ClangFormatCOMMAND.dir/build.make CMakeFiles/ClangFormatCOMMAND.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles --progress-num= "Built target ClangFormatCOMMAND"
.PHONY : CMakeFiles/ClangFormatCOMMAND.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/ClangFormatCOMMAND.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 0
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ClangFormatCOMMAND.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/ClangFormatCOMMAND.dir/rule
# Convenience name for target.
ClangFormatCOMMAND: CMakeFiles/ClangFormatCOMMAND.dir/rule
.PHONY : ClangFormatCOMMAND
# clean rule for target.
CMakeFiles/ClangFormatCOMMAND.dir/clean:
$(MAKE) -f CMakeFiles/ClangFormatCOMMAND.dir/build.make CMakeFiles/ClangFormatCOMMAND.dir/clean
.PHONY : CMakeFiles/ClangFormatCOMMAND.dir/clean
# clean rule for target.
clean: CMakeFiles/ClangFormatCOMMAND.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/RandDistributions.dir
# All Build rule for target.
CMakeFiles/RandDistributions.dir/all:
$(MAKE) -f CMakeFiles/RandDistributions.dir/build.make CMakeFiles/RandDistributions.dir/depend
$(MAKE) -f CMakeFiles/RandDistributions.dir/build.make CMakeFiles/RandDistributions.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles --progress-num=1,2 "Built target RandDistributions"
.PHONY : CMakeFiles/RandDistributions.dir/all
# Include target in all.
all: CMakeFiles/RandDistributions.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/RandDistributions.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/RandDistributions.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/RandDistributions.dir/rule
# Convenience name for target.
RandDistributions: CMakeFiles/RandDistributions.dir/rule
.PHONY : RandDistributions
# clean rule for target.
CMakeFiles/RandDistributions.dir/clean:
$(MAKE) -f CMakeFiles/RandDistributions.dir/build.make CMakeFiles/RandDistributions.dir/clean
.PHONY : CMakeFiles/RandDistributions.dir/clean
# clean rule for target.
clean: CMakeFiles/RandDistributions.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/hw.dir
# All Build rule for target.
CMakeFiles/hw.dir/all:
$(MAKE) -f CMakeFiles/hw.dir/build.make CMakeFiles/hw.dir/depend
$(MAKE) -f CMakeFiles/hw.dir/build.make CMakeFiles/hw.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles --progress-num=3,4 "Built target hw"
.PHONY : CMakeFiles/hw.dir/all
# Include target in all.
all: CMakeFiles/hw.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/hw.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/hw.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/hw.dir/rule
# Convenience name for target.
hw: CMakeFiles/hw.dir/rule
.PHONY : hw
# clean rule for target.
CMakeFiles/hw.dir/clean:
$(MAKE) -f CMakeFiles/hw.dir/build.make CMakeFiles/hw.dir/clean
.PHONY : CMakeFiles/hw.dir/clean
# clean rule for target.
clean: CMakeFiles/hw.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

@@ -1,5 +0,0 @@
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/ClangFormatCOMMAND.dir
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/RandDistributions.dir
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/hw.dir

View File

@@ -1,12 +0,0 @@
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Assignment2.cpp
CMake Error at CMakeLists.txt:30 (add_dependencies):
Cannot add target-level dependencies to non-existent target "Assignment2".
The add_dependencies works for top-level logical targets created by the
add_executable, add_library, or add_custom_target commands. If you want to
add file-level dependencies see the DEPENDS option of the add_custom_target
and add_custom_command commands.
-- Configuring incomplete, errors occurred!
See also "/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/CMakeOutput.log".

View File

@@ -1,98 +0,0 @@
# 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/Assignment2.cpp
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/untitled.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/untitled.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/untitled.dir/flags.make
CMakeFiles/untitled.dir/Assignment2.cpp.o: CMakeFiles/untitled.dir/flags.make
CMakeFiles/untitled.dir/Assignment2.cpp.o: ../Assignment2.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/untitled.dir/Assignment2.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/untitled.dir/Assignment2.cpp.o -c /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/Assignment2.cpp
CMakeFiles/untitled.dir/Assignment2.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/untitled.dir/Assignment2.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/Assignment2.cpp > CMakeFiles/untitled.dir/Assignment2.cpp.i
CMakeFiles/untitled.dir/Assignment2.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/untitled.dir/Assignment2.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/Assignment2.cpp -o CMakeFiles/untitled.dir/Assignment2.cpp.s
# Object files for target untitled
untitled_OBJECTS = \
"CMakeFiles/untitled.dir/Assignment2.cpp.o"
# External object files for target untitled
untitled_EXTERNAL_OBJECTS =
untitled: CMakeFiles/untitled.dir/Assignment2.cpp.o
untitled: CMakeFiles/untitled.dir/build.make
untitled: CMakeFiles/untitled.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable untitled"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/untitled.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/untitled.dir/build: untitled
.PHONY : CMakeFiles/untitled.dir/build
CMakeFiles/untitled.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/untitled.dir/cmake_clean.cmake
.PHONY : CMakeFiles/untitled.dir/clean
CMakeFiles/untitled.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Assignment2.cpp /Users/bradybodily/Repositories/CS3460/Assignment2.cpp /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug/CMakeFiles/untitled.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/untitled.dir/depend

View File

@@ -1,10 +0,0 @@
file(REMOVE_RECURSE
"CMakeFiles/untitled.dir/Assignment2.cpp.o"
"untitled.pdb"
"untitled"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/untitled.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -1,5 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/untitled.dir/Assignment2.cpp.o
/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/Assignment2.cpp

View File

@@ -1,8 +1,8 @@
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <cstdint>
#include <iomanip>
//
// If the default clang follows the the one true brace style is that not
@@ -36,132 +36,6 @@ std::vector<DistributionPair> createBins(int min, int max, int binCount);
std::random_device randomDevice;
std::default_random_engine randomEngine(randomDevice());
// ------------------------------------------------------------------
//
// Testing Code
//
// ------------------------------------------------------------------
#include <functional>
#include <iostream>
#include <numeric>
#include <string>
namespace testing::detail
{
using namespace std::string_literals;
using Bins = std::vector<std::pair<std::uint32_t, std::uint32_t>>;
using DistFunc = std::function<std::vector<DistributionPair>()>;
#define CS3460_ASSERT_EQ(expected, actual, message) \
if (expected != actual) \
{ \
fail(message, "[ Expected", expected, "but got", actual, "]"); \
return; \
}
#define CS3460_CASE(x) \
[] { return x; }; \
std::cout << " Case " << #x << "\n";
template <typename Message>
void failInternal(const Message& message)
{
std::cout << message << " ";
}
template <typename Message, typename... Messages>
void failInternal(const Message& message, const Messages&... messages)
{
failInternal(message);
failInternal(messages...);
}
template <typename... Messages>
void fail(const Messages&... messages)
{
std::cout << " Assertion failed: ";
failInternal(messages...);
std::cout << "\n";
}
Bins generateBins(const std::uint32_t min, const std::uint32_t max, const std::uint8_t numberBins)
{
const auto binRange = (max - min) / numberBins;
auto minBin = min;
auto maxBin = min + binRange;
Bins results(numberBins);
for (std::uint8_t bin = 0u; bin < numberBins; bin++)
{
results[bin] = {minBin, maxBin};
minBin = maxBin + 1;
maxBin = minBin + binRange;
}
return results;
}
void returnsTheExpectedBins(const DistFunc& func, const Bins& bins)
{
const auto result = func();
CS3460_ASSERT_EQ(bins.size(), result.size(), "Wrong number of bins");
for (auto i = 0u; i < bins.size(); i++)
{
CS3460_ASSERT_EQ(bins[i].first, result[i].minValue, "Wrong minimum value for bin "s + std::to_string(i));
CS3460_ASSERT_EQ(bins[i].second, result[i].maxValue, "Wrong maximum value for bin "s + std::to_string(i));
}
}
void hasTheCorrectTotalAcrossAllBins(const DistFunc& func, const std::uint32_t howMany)
{
const auto result = func();
const auto add_counts = [](std::uint32_t total, const DistributionPair& bin) { return total + bin.count; };
CS3460_ASSERT_EQ(howMany, std::accumulate(result.cbegin(), result.cend(), 0u, add_counts),
"Wrong number of elements across all bins");
}
void testUniformDistribution()
{
std::cout << "Testing generateUniformDistribution\n";
auto func = CS3460_CASE(generateUniformDistribution(100000, 0, 79, 40));
returnsTheExpectedBins(func, generateBins(0, 79, 40));
hasTheCorrectTotalAcrossAllBins(func, 100000);
}
void testNormalDistribution()
{
std::cout << "Testing generateNormalDistribution\n";
auto func = CS3460_CASE(generateNormalDistribution(100000, 50, 5, 40));
returnsTheExpectedBins(func, generateBins(30, 69, 40));
hasTheCorrectTotalAcrossAllBins(func, 100000);
}
void testPoissonDistribution()
{
std::cout << "Testing generatePoissonDistribution\n";
auto func = CS3460_CASE(generatePoissonDistribution(100000, 6, 40));
returnsTheExpectedBins(func, generateBins(0, 39, 40));
hasTheCorrectTotalAcrossAllBins(func, 100000);
}
} // namespace testing::detail
void test()
{
using namespace testing::detail;
testUniformDistribution();
testNormalDistribution();
testPoissonDistribution();
std::cout << "\n\n";
}
int main()
{
auto uniform = generateUniformDistribution(100000, 0, 79, 40);
@@ -173,7 +47,6 @@ int main()
auto poisson = generatePoissonDistribution(100000, 6, 40);
plotDistribution("--- Poisson ---", poisson, 80);
test();
return 0;
}
@@ -185,12 +58,12 @@ generateUniformDistribution(std::uint32_t howMany, std::uint32_t min,
auto bins = createBins(min, max, numberBins);
for (int i = 0; i < static_cast<int>(howMany); i++)
{
float number = distribution(randomEngine);
int number = distribution(randomEngine);
for(int i = 0; i <= numberBins; i++)
for (int j = 0; j <= numberBins; j++)
{
if(bins[i].maxValue >= number && bins[i].minValue <= number)
bins[i].count++;
if (static_cast<int>(bins[j].maxValue) >= number && static_cast<int>(bins[j].minValue) <= number)
bins[j].count++;
}
}
return bins;
@@ -268,8 +141,7 @@ void plotDistribution(std::string title,
{
int starCount =
static_cast<int>(currentBin.count / float(max) * maxPlotLineSize);
std::string info = "[ " + std::to_string(currentBin.minValue) + ", "
+ std::to_string(currentBin.maxValue) + " ] : ";
std::string info = "[ " + std::to_string(currentBin.minValue) + ", " + std::to_string(currentBin.maxValue) + " ] : ";
std::string starString;
for (int i = 0; i < starCount; i++)
starString += "*";

View File

@@ -1,14 +1,31 @@
cmake_minimum_required(VERSION 3.14)
project(Assignment2)
set(CMAKE_CXX_STANDARD 17)
set(SOURCE_FILES
Assignment2.cpp)
add_executable(RandDistributions ${SOURCE_FILES})
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
target_compile_options(RandomDistributions PRIVATE /W4 /permissive-)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_compile_options(RandomDistributions PRIVATE -Wall -Wextra -pedantic)
endif()
find_program(CLANG_FORMAT "clang-format")
if(CLANG_FORMAT)
unset(SOURCE_FILES_PATHS)
foreach(SOURCE_FILE ${SOURCE_FILES})
get_source_file_property(WHERE ${SOURCE_FILE} LOCATION)
set(SOURCE_FILES_PATHS ${SOURCE_FILES_PATHS} ${WHERE})
endforeach()
add_custom_target(
ClangFormat COMMAND
${CLANG_FORMAT}
-i
-style=file
${SOURCE_FILES_PATHS})
add_dependencies(RandDistributions ClangFormat)
endif()

View File

@@ -37,6 +37,16 @@
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="ClangFormat">
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug"/>
<Option type="4"/>
<MakeCommands>
<Build command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/Makefile&quot; VERBOSE=1 ClangFormat"/>
<CompileFile command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/Makefile&quot; VERBOSE=1 &quot;$file&quot;"/>
<Clean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
<DistClean command="/usr/bin/make -j4 -f &quot;/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/Makefile&quot; VERBOSE=1 clean"/>
</MakeCommands>
</Target>
<Target title="RandDistributions">
<Option output="/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/RandDistributions" prefix_auto="0" extension_auto="0"/>
<Option working_dir="/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug"/>

View File

@@ -0,0 +1,2 @@
# Hashes of file build rules.
92a1204bae516636bc42041a26ec4b67 CMakeFiles/ClangFormat

View File

@@ -52,5 +52,6 @@ set(CMAKE_MAKEFILE_PRODUCTS
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/ClangFormat.dir/DependInfo.cmake"
"CMakeFiles/RandDistributions.dir/DependInfo.cmake"
)

View File

@@ -64,11 +64,43 @@ CMAKE_SOURCE_DIR = /Users/bradybodily/Repositories/CS3460/Hw2
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug
#=============================================================================
# Target rules for target CMakeFiles/ClangFormat.dir
# All Build rule for target.
CMakeFiles/ClangFormat.dir/all:
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/depend
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles --progress-num= "Built target ClangFormat"
.PHONY : CMakeFiles/ClangFormat.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/ClangFormat.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles 0
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ClangFormat.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/ClangFormat.dir/rule
# Convenience name for target.
ClangFormat: CMakeFiles/ClangFormat.dir/rule
.PHONY : ClangFormat
# clean rule for target.
CMakeFiles/ClangFormat.dir/clean:
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/clean
.PHONY : CMakeFiles/ClangFormat.dir/clean
# clean rule for target.
clean: CMakeFiles/ClangFormat.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/RandDistributions.dir
# All Build rule for target.
CMakeFiles/RandDistributions.dir/all:
CMakeFiles/RandDistributions.dir/all: CMakeFiles/ClangFormat.dir/all
$(MAKE) -f CMakeFiles/RandDistributions.dir/build.make CMakeFiles/RandDistributions.dir/depend
$(MAKE) -f CMakeFiles/RandDistributions.dir/build.make CMakeFiles/RandDistributions.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles --progress-num=1,2 "Built target RandDistributions"

View File

@@ -7,22 +7,14 @@
#IncludeRegexTransform:
/Users/bradybodily/Repositories/CS3460/Hw2/Assignment2.cpp
cstdint
-
iomanip
-
iostream
-
random
-
string
-
cstdint
-
iomanip
-
functional
-
iostream
-
numeric
-
string
-

View File

@@ -1,3 +1,4 @@
/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles/ClangFormat.dir
/Users/bradybodily/Repositories/CS3460/Hw2/cmake-build-debug/CMakeFiles/RandDistributions.dir

View File

@@ -110,6 +110,19 @@ 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 ClangFormat
# Build rule for target.
ClangFormat: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ClangFormat
.PHONY : ClangFormat
# fast build rule for target.
ClangFormat/fast:
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/build
.PHONY : ClangFormat/fast
#=============================================================================
# Target rules for targets named RandDistributions
@@ -158,6 +171,7 @@ help:
@echo "... depend"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... ClangFormat"
@echo "... RandDistributions"
@echo "... Assignment2.o"
@echo "... Assignment2.i"

7
Hw3/.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

View File

@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/untitled.iml" filepath="$PROJECT_DIR$/.idea/untitled.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/Hw3.iml" filepath="$PROJECT_DIR$/.idea/Hw3.iml" />
</modules>
</component>
</project>

7
Hw3/.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
<mapping directory="$PROJECT_DIR$/cmake-build-debug/googletest-src" vcs="Git" />
</component>
</project>

96
Hw3/CMakeLists.txt Normal file
View File

@@ -0,0 +1,96 @@
cmake_minimum_required(VERSION 3.14)
project(Hw3)
set(CMAKE_CXX_STANDARD 17)
set(HEADER_FILES
distributions.hpp)
set(SOURCE_FILES
distributions.cpp)
set(UNIT_TEST_FILES
TestDistributions.cpp)
#
# This is the main target
#
add_executable(RandomDistributions ${HEADER_FILES} ${SOURCE_FILES} main.cpp)
add_executable(UnitTestRunner ${HEADER_FILES} ${SOURCE_FILES} ${UNIT_TEST_FILES})
#
# We want the C++ 17 standard for our project
#
set_property(TARGET RandomDistributions PROPERTY CXX_STANDARD 17)
set_property(TARGET UnitTestRunner PROPERTY CXX_STANDARD 17)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
target_compile_options(GoogleTestIntro PRIVATE /W4 /permissive-)
target_compile_options(UnitTestRunner PRIVATE /W4 /permissive-)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_compile_options(RandomDistributions PRIVATE -Wall -Wextra -pedantic)
target_compile_options(UnitTestRunner PRIVATE -Wall -Wextra -pedantic)
endif()
#
# Prepare a pre-build step to run clang-format over all the [ch]pp source files.
# Start by finding the location of the clang-format executable.
#
find_program(CLANG_FORMAT "clang-format")
if (CLANG_FORMAT)
#
# Need to take the simple source file locations used for the project and get their full
# file system locations for use in putting together the clang-format command line
#
unset(SOURCE_FILES_PATHS)
foreach(SOURCE_FILE ${HEADER_FILES} ${SOURCE_FILES} ${UNIT_TEST_FILES} main.cpp)
get_source_file_property(WHERE ${SOURCE_FILE} LOCATION)
set(SOURCE_FILES_PATHS ${SOURCE_FILES_PATHS} ${WHERE})
endforeach()
#
# This creates the clang-format target/command
#
add_custom_target(
ClangFormat
COMMAND ${CLANG_FORMAT}
-i
-style=file
${SOURCE_FILES_PATHS}
)
#
# This makes the clang-format target a dependency of the main GoogleTestIntro project
#
add_dependencies(RandomDistributions ClangFormat)
else()
message("Unable to find clang-format")
endif()
#
# Add GoogleTest
#
configure_file(CMakeLists.txt.in googletest-download/CMakeLists.txt)
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
RESULT_VARIABLE result
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/googletest-download )
if(result)
message(FATAL_ERROR "CMake step for googletest failed: ${result}")
endif()
execute_process(COMMAND ${CMAKE_COMMAND} --build .
RESULT_VARIABLE result
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/googletest-download )
if(result)
message(FATAL_ERROR "Build step for googletest failed: ${result}")
endif()
# Prevent overriding the parent project's compiler/linker
# settings on Windows
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
# Add googletest directly to our build. This defines
# the gtest and gtest_main targets.
add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src
${CMAKE_CURRENT_BINARY_DIR}/googletest-build
EXCLUDE_FROM_ALL)
# Now simply link against gtest or gtest_main as needed. Eg
target_link_libraries(UnitTestRunner gtest_main)

15
Hw3/CMakeLists.txt.in Executable file
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 "${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)

84
Hw3/TestDistributions.cpp Normal file
View File

@@ -0,0 +1,84 @@
#include "distributions.hpp"
#include "gtest/gtest.h"
#include <numeric>
int main(int argc, char* argv[])
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
using Bins = std::vector<DistributionPair>;
Bins generateBins(const std::uint32_t min, const std::uint32_t max, const std::uint8_t numberBins)
{
const auto binRange = (max - min) / numberBins;
auto minBin = min;
auto maxBin = min + binRange;
Bins results;
results.reserve(numberBins);
for (auto bin = 0u; bin < numberBins; bin++)
{
results.emplace_back(minBin, maxBin);
minBin = maxBin + 1;
maxBin = minBin + binRange;
}
return results;
}
void checkBins(const Bins& expected, const Bins& actual)
{
ASSERT_EQ(expected.size(), actual.size()) << "Wrong number of bins";
for (auto i = 0u; i < expected.size(); i++)
{
EXPECT_EQ(expected[i].minValue, actual[i].minValue) << "Wrong minimum value for bin " << i;
EXPECT_EQ(expected[i].maxValue, actual[i].maxValue) << "Wrong maximum value for bin " << i;
}
}
void checkTotal(const std::uint32_t expected, const Bins& bins)
{
const auto add_counts = [](const std::uint32_t total, const DistributionPair& bin) { return total + bin.count; };
const auto actual = std::accumulate(bins.cbegin(), bins.cend(), 0u, add_counts);
EXPECT_EQ(expected, actual) << "Wrong number of elements across all bins";
}
TEST(UniformDistribution, ReturnsExpectedBins)
{
const auto bins = generateUniformDistribution(0, 0, 79, 40);
checkBins(generateBins(0, 79, 40), bins);
}
TEST(UniformDistribution, HasCorrectTotalAcrossAllBins)
{
const auto bins = generateUniformDistribution(100000, 0, 79, 40);
checkTotal(100000, bins);
}
TEST(NormalDistribution, ReturnsExpectedBins)
{
const auto bins = generateNormalDistribution(0, 50, 5, 40);
checkBins(generateBins(30, 69, 40), bins);
}
TEST(NormalDistribution, HasCorrectTotalAcrossAllBins)
{
const auto bins = generateNormalDistribution(100000, 50, 5, 40);
checkTotal(100000, bins);
}
TEST(PoissonDistribution, ReturnsExpectedBins)
{
const auto bins = generatePoissonDistribution(0, 6, 40);
checkBins(generateBins(0, 39, 40), bins);
}
TEST(PoissonDistribution, HasCorrectTotalAcrossAllBins)
{
const auto bins = generatePoissonDistribution(100000, 6, 40);
checkTotal(100000, bins);
}

File diff suppressed because one or more lines are too long

View File

@@ -2,8 +2,8 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/bradybodily/Repositories/CS3460/Assignment2.cpp")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/bradybodily/Repositories/CS3460/Assignment2.cpp/cmake-build-debug")
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/bradybodily/Repositories/CS3460/Hw3")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)

View File

@@ -0,0 +1,664 @@
The system is: Darwin - 18.5.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/3.14.5/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is AppleClang, found in "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/3.14.5/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_f6656/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f6656.dir/build.make CMakeFiles/cmTC_f6656.dir/build
Building C object CMakeFiles/cmTC_f6656.dir/testCCompiler.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o CMakeFiles/cmTC_f6656.dir/testCCompiler.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f6656
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6656.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f6656.dir/testCCompiler.c.o -o cmTC_f6656
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_60526/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_60526.dir/build.make CMakeFiles/cmTC_60526.dir/build
Building C object CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -v -Wl,-v -o CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCCompilerABI.c
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.14 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 450.3 -v -coverage-notes-file /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wno-atomic-implicit-seq-cst -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.14.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCCompilerABI.c
clang -cc1 version 10.0.1 (clang-1001.0.46.4) default target x86_64-apple-darwin18.5.0
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include
/Library/Developer/CommandLineTools/usr/include
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking C executable cmTC_60526
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60526.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -o cmTC_60526
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o cmTC_60526 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-450.3
BUILD 18:16:53 Apr 5 2019
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib
Framework search paths:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
add: [/Library/Developer/CommandLineTools/usr/include]
add: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
end of search list found
collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
implicit include dirs: [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_60526/fast ]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_60526.dir/build.make CMakeFiles/cmTC_60526.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -v -Wl,-v -o CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCCompilerABI.c]
ignore line: [Apple LLVM version 10.0.1 (clang-1001.0.46.4)]
ignore line: [Target: x86_64-apple-darwin18.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
ignore line: [clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.14 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 450.3 -v -coverage-notes-file /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wno-atomic-implicit-seq-cst -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.14.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCCompilerABI.c]
ignore line: [clang -cc1 version 10.0.1 (clang-1001.0.46.4) default target x86_64-apple-darwin18.5.0]
ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/local/include"]
ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/include]
ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking C executable cmTC_60526]
ignore line: [/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60526.dir/link.txt --verbose=1]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -o cmTC_60526 ]
ignore line: [Apple LLVM version 10.0.1 (clang-1001.0.46.4)]
ignore line: [Target: x86_64-apple-darwin18.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o cmTC_60526 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.14.0] ==> ignore
arg [-syslibroot] ==> ignore
arg [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk] ==> ignore
arg [-o] ==> ignore
arg [cmTC_60526] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_60526.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
Framework search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/]
remove lib [System]
remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
collapse library dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
collapse framework dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks]
implicit libs: []
implicit dirs: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
implicit fwks: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks]
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_a2d2d/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_a2d2d.dir/build.make CMakeFiles/cmTC_a2d2d.dir/build
Building C object CMakeFiles/cmTC_a2d2d.dir/feature_tests.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c11 -o CMakeFiles/cmTC_a2d2d.dir/feature_tests.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.c
Linking C executable cmTC_a2d2d
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a2d2d.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_a2d2d.dir/feature_tests.c.o -o cmTC_a2d2d
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_1e9cf/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_1e9cf.dir/build.make CMakeFiles/cmTC_1e9cf.dir/build
Building C object CMakeFiles/cmTC_1e9cf.dir/feature_tests.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c99 -o CMakeFiles/cmTC_1e9cf.dir/feature_tests.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.c
Linking C executable cmTC_1e9cf
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e9cf.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1e9cf.dir/feature_tests.c.o -o cmTC_1e9cf
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_5b57e/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_5b57e.dir/build.make CMakeFiles/cmTC_5b57e.dir/build
Building C object CMakeFiles/cmTC_5b57e.dir/feature_tests.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c90 -o CMakeFiles/cmTC_5b57e.dir/feature_tests.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.c
Linking C executable cmTC_5b57e
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b57e.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_5b57e.dir/feature_tests.c.o -o cmTC_5b57e
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_24e5b/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_24e5b.dir/build.make CMakeFiles/cmTC_24e5b.dir/build
Building CXX object CMakeFiles/cmTC_24e5b.dir/testCXXCompiler.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o CMakeFiles/cmTC_24e5b.dir/testCXXCompiler.cxx.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_24e5b
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24e5b.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_24e5b.dir/testCXXCompiler.cxx.o -o cmTC_24e5b
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_ed39f/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ed39f.dir/build.make CMakeFiles/cmTC_ed39f.dir/build
Building CXX object CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -v -Wl,-v -o CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCXXCompilerABI.cpp
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.14 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 450.3 -v -coverage-notes-file /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -stdlib=libc++ -Wno-atomic-implicit-seq-cst -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-quoted-include-in-framework-header -fdeprecated-macro -fdebug-compilation-dir /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.14.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 10.0.1 (clang-1001.0.46.4) default target x86_64-apple-darwin18.5.0
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/v1"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/Library/Developer/CommandLineTools/usr/include/c++/v1
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include
/Library/Developer/CommandLineTools/usr/include
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking CXX executable cmTC_ed39f
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed39f.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ed39f
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o cmTC_ed39f -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-450.3
BUILD 18:16:53 Apr 5 2019
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib
Framework search paths:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/Library/Developer/CommandLineTools/usr/include/c++/v1]
add: [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
add: [/Library/Developer/CommandLineTools/usr/include]
add: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
end of search list found
collapse include dir [/Library/Developer/CommandLineTools/usr/include/c++/v1] ==> [/Library/Developer/CommandLineTools/usr/include/c++/v1]
collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
implicit include dirs: [/Library/Developer/CommandLineTools/usr/include/c++/v1;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_ed39f/fast ]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ed39f.dir/build.make CMakeFiles/cmTC_ed39f.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -v -Wl,-v -o CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Apple LLVM version 10.0.1 (clang-1001.0.46.4)]
ignore line: [Target: x86_64-apple-darwin18.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
ignore line: [clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.14 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 450.3 -v -coverage-notes-file /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -stdlib=libc++ -Wno-atomic-implicit-seq-cst -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-quoted-include-in-framework-header -fdeprecated-macro -fdebug-compilation-dir /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.14.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [clang -cc1 version 10.0.1 (clang-1001.0.46.4) default target x86_64-apple-darwin18.5.0]
ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/v1"]
ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/local/include"]
ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /Library/Developer/CommandLineTools/usr/include/c++/v1]
ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/include]
ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include]
ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking CXX executable cmTC_ed39f]
ignore line: [/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed39f.dir/link.txt --verbose=1]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ed39f ]
ignore line: [Apple LLVM version 10.0.1 (clang-1001.0.46.4)]
ignore line: [Target: x86_64-apple-darwin18.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o cmTC_ed39f -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.14.0] ==> ignore
arg [-syslibroot] ==> ignore
arg [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk] ==> ignore
arg [-o] ==> ignore
arg [cmTC_ed39f] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_ed39f.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
Framework search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/]
remove lib [System]
remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a]
collapse library dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
collapse framework dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks]
implicit libs: [c++]
implicit dirs: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib]
implicit fwks: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks]
Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_f3572/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f3572.dir/build.make CMakeFiles/cmTC_f3572.dir/build
Building CXX object CMakeFiles/cmTC_f3572.dir/feature_tests.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++1z -o CMakeFiles/cmTC_f3572.dir/feature_tests.cxx.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_f3572
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3572.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f3572.dir/feature_tests.cxx.o -o cmTC_f3572
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_dbea9/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_dbea9.dir/build.make CMakeFiles/cmTC_dbea9.dir/build
Building CXX object CMakeFiles/cmTC_dbea9.dir/feature_tests.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++14 -o CMakeFiles/cmTC_dbea9.dir/feature_tests.cxx.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_dbea9
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dbea9.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_dbea9.dir/feature_tests.cxx.o -o cmTC_dbea9
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_b1e5c/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_b1e5c.dir/build.make CMakeFiles/cmTC_b1e5c.dir/build
Building CXX object CMakeFiles/cmTC_b1e5c.dir/feature_tests.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++11 -o CMakeFiles/cmTC_b1e5c.dir/feature_tests.cxx.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_b1e5c
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1e5c.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b1e5c.dir/feature_tests.cxx.o -o cmTC_b1e5c
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_955b3/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_955b3.dir/build.make CMakeFiles/cmTC_955b3.dir/build
Building CXX object CMakeFiles/cmTC_955b3.dir/feature_tests.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++98 -o CMakeFiles/cmTC_955b3.dir/feature_tests.cxx.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_955b3
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_955b3.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_955b3.dir/feature_tests.cxx.o -o cmTC_955b3
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:0cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:0cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:0cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:0cxx_default_function_template_args
Feature record: CXX_FEATURE:0cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:0cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
Feature record: CXX_FEATURE:0cxx_explicit_conversions
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
Feature record: CXX_FEATURE:0cxx_extern_templates
Feature record: CXX_FEATURE:0cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:0cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:0cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:0cxx_local_type_template_args
Feature record: CXX_FEATURE:0cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:0cxx_nullptr
Feature record: CXX_FEATURE:0cxx_override
Feature record: CXX_FEATURE:0cxx_range_for
Feature record: CXX_FEATURE:0cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
Feature record: CXX_FEATURE:0cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:0cxx_static_assert
Feature record: CXX_FEATURE:0cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_b227e/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_b227e.dir/build.make CMakeFiles/cmTC_b227e.dir/build
Building C object CMakeFiles/cmTC_b227e.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o CMakeFiles/cmTC_b227e.dir/CheckIncludeFile.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_b227e
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b227e.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b227e.dir/CheckIncludeFile.c.o -o cmTC_b227e
Determining if the pthread_create exist passed with the following output:
Change Dir: /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_608c9/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_608c9.dir/build.make CMakeFiles/cmTC_608c9.dir/build
Building C object CMakeFiles/cmTC_608c9.dir/CheckSymbolExists.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o CMakeFiles/cmTC_608c9.dir/CheckSymbolExists.c.o -c /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_608c9
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E cmake_link_script CMakeFiles/cmTC_608c9.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_608c9.dir/CheckSymbolExists.c.o -o cmTC_608c9
File /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

View File

@@ -0,0 +1,2 @@
# Hashes of file build rules.
41c9a1b3d3ed14f67dde1e90a665e7e6 CMakeFiles/ClangFormat

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,76 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
# Utility rule file for ClangFormat.
# Include the progress variables for this target.
include CMakeFiles/ClangFormat.dir/progress.make
CMakeFiles/ClangFormat:
/usr/local/bin/clang-format -i -style=file /Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
ClangFormat: CMakeFiles/ClangFormat
ClangFormat: CMakeFiles/ClangFormat.dir/build.make
.PHONY : ClangFormat
# Rule to build all files generated by this target.
CMakeFiles/ClangFormat.dir/build: ClangFormat
.PHONY : CMakeFiles/ClangFormat.dir/build
CMakeFiles/ClangFormat.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/ClangFormat.dir/cmake_clean.cmake
.PHONY : CMakeFiles/ClangFormat.dir/clean
CMakeFiles/ClangFormat.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/ClangFormat.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/ClangFormat.dir/depend

View File

@@ -0,0 +1,8 @@
file(REMOVE_RECURSE
"CMakeFiles/ClangFormat"
)
# Per-language clean rules from dependency scanning.
foreach(lang )
include(CMakeFiles/ClangFormat.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,28 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iomanip
-
iostream
-
random
-
vector
-
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
iostream
-
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp

View File

@@ -0,0 +1,21 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/Hw3.dir/distributions.cpp.o"
"/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/Hw3.dir/main.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "AppleClang")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
)
# 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,113 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/Hw3.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/Hw3.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/Hw3.dir/flags.make
CMakeFiles/Hw3.dir/main.cpp.o: CMakeFiles/Hw3.dir/flags.make
CMakeFiles/Hw3.dir/main.cpp.o: ../main.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/Hw3.dir/main.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Hw3.dir/main.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
CMakeFiles/Hw3.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Hw3.dir/main.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp > CMakeFiles/Hw3.dir/main.cpp.i
CMakeFiles/Hw3.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Hw3.dir/main.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp -o CMakeFiles/Hw3.dir/main.cpp.s
CMakeFiles/Hw3.dir/distributions.cpp.o: CMakeFiles/Hw3.dir/flags.make
CMakeFiles/Hw3.dir/distributions.cpp.o: ../distributions.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/Hw3.dir/distributions.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Hw3.dir/distributions.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
CMakeFiles/Hw3.dir/distributions.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Hw3.dir/distributions.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp > CMakeFiles/Hw3.dir/distributions.cpp.i
CMakeFiles/Hw3.dir/distributions.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Hw3.dir/distributions.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp -o CMakeFiles/Hw3.dir/distributions.cpp.s
# Object files for target Hw3
Hw3_OBJECTS = \
"CMakeFiles/Hw3.dir/main.cpp.o" \
"CMakeFiles/Hw3.dir/distributions.cpp.o"
# External object files for target Hw3
Hw3_EXTERNAL_OBJECTS =
Hw3: CMakeFiles/Hw3.dir/main.cpp.o
Hw3: CMakeFiles/Hw3.dir/distributions.cpp.o
Hw3: CMakeFiles/Hw3.dir/build.make
Hw3: CMakeFiles/Hw3.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX executable Hw3"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Hw3.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/Hw3.dir/build: Hw3
.PHONY : CMakeFiles/Hw3.dir/build
CMakeFiles/Hw3.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/Hw3.dir/cmake_clean.cmake
.PHONY : CMakeFiles/Hw3.dir/clean
CMakeFiles/Hw3.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/Hw3.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/Hw3.dir/depend

View File

@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/Hw3.dir/main.cpp.o"
"CMakeFiles/Hw3.dir/distributions.cpp.o"
"Hw3.pdb"
"Hw3"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/Hw3.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/Hw3.dir/distributions.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
CMakeFiles/Hw3.dir/main.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/Hw3.dir/distributions.cpp.o: ../distributions.cpp
CMakeFiles/Hw3.dir/distributions.cpp.o: ../distributions.hpp
CMakeFiles/Hw3.dir/main.cpp.o: ../distributions.hpp
CMakeFiles/Hw3.dir/main.cpp.o: ../main.cpp

View File

@@ -0,0 +1 @@
/Library/Developer/CommandLineTools/usr/bin/c++ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/Hw3.dir/main.cpp.o CMakeFiles/Hw3.dir/distributions.cpp.o -o Hw3

Binary file not shown.

View File

@@ -0,0 +1,4 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3

View File

@@ -7,22 +7,33 @@ 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/BasicConfigVersion-AnyNewerVersion.cmake.in"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCInformation.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCXXInformation.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeCommonLanguageInclude.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeDependentOption.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeFindCodeBlocks.cmake"
"/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/CMakeLanguageInformation.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakePackageConfigHelpers.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/CheckIncludeFile.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CheckLibraryExists.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CheckSymbolExists.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Compiler/AppleClang-C.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Compiler/AppleClang-CXX.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Compiler/Clang.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Compiler/GNU.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/FindPythonInterp.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/FindThreads.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/GNUInstallDirs.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Internal/CMakeCheckCompilerFlag.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Platform/Apple-AppleClang-C.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/Platform/Apple-AppleClang-CXX.cmake"
@@ -33,10 +44,21 @@ set(CMAKE_MAKEFILE_DEPENDS
"/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/ProcessorCount.cmake"
"/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/WriteBasicConfigVersionFile.cmake"
"../CMakeLists.txt"
"../CMakeLists.txt.in"
"CMakeFiles/3.14.5/CMakeCCompiler.cmake"
"CMakeFiles/3.14.5/CMakeCXXCompiler.cmake"
"CMakeFiles/3.14.5/CMakeSystem.cmake"
"googletest-src/CMakeLists.txt"
"googletest-src/googlemock/CMakeLists.txt"
"googletest-src/googlemock/cmake/gmock.pc.in"
"googletest-src/googlemock/cmake/gmock_main.pc.in"
"googletest-src/googletest/CMakeLists.txt"
"googletest-src/googletest/cmake/Config.cmake.in"
"googletest-src/googletest/cmake/gtest.pc.in"
"googletest-src/googletest/cmake/gtest_main.pc.in"
"googletest-src/googletest/cmake/internal_utils.cmake"
)
# The corresponding makefile is:
@@ -47,12 +69,20 @@ set(CMAKE_MAKEFILE_OUTPUTS
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"googletest-download/CMakeLists.txt"
"CMakeFiles/CMakeDirectoryInformation.cmake"
"googletest-build/CMakeFiles/CMakeDirectoryInformation.cmake"
"googletest-build/googlemock/CMakeFiles/CMakeDirectoryInformation.cmake"
"googletest-build/googletest/CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/ClangFormatCOMMAND.dir/DependInfo.cmake"
"CMakeFiles/RandDistributions.dir/DependInfo.cmake"
"CMakeFiles/hw.dir/DependInfo.cmake"
"CMakeFiles/RandomDistributions.dir/DependInfo.cmake"
"CMakeFiles/ClangFormat.dir/DependInfo.cmake"
"CMakeFiles/UnitTestRunner.dir/DependInfo.cmake"
"googletest-build/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake"
"googletest-build/googlemock/CMakeFiles/gmock_main.dir/DependInfo.cmake"
"googletest-build/googletest/CMakeFiles/gtest_main.dir/DependInfo.cmake"
"googletest-build/googletest/CMakeFiles/gtest.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,369 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
#=============================================================================
# Target rules for target CMakeFiles/RandomDistributions.dir
# All Build rule for target.
CMakeFiles/RandomDistributions.dir/all: CMakeFiles/ClangFormat.dir/all
$(MAKE) -f CMakeFiles/RandomDistributions.dir/build.make CMakeFiles/RandomDistributions.dir/depend
$(MAKE) -f CMakeFiles/RandomDistributions.dir/build.make CMakeFiles/RandomDistributions.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=1,2,3 "Built target RandomDistributions"
.PHONY : CMakeFiles/RandomDistributions.dir/all
# Include target in all.
all: CMakeFiles/RandomDistributions.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/RandomDistributions.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 3
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/RandomDistributions.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/RandomDistributions.dir/rule
# Convenience name for target.
RandomDistributions: CMakeFiles/RandomDistributions.dir/rule
.PHONY : RandomDistributions
# clean rule for target.
CMakeFiles/RandomDistributions.dir/clean:
$(MAKE) -f CMakeFiles/RandomDistributions.dir/build.make CMakeFiles/RandomDistributions.dir/clean
.PHONY : CMakeFiles/RandomDistributions.dir/clean
# clean rule for target.
clean: CMakeFiles/RandomDistributions.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/ClangFormat.dir
# All Build rule for target.
CMakeFiles/ClangFormat.dir/all:
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/depend
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num= "Built target ClangFormat"
.PHONY : CMakeFiles/ClangFormat.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/ClangFormat.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ClangFormat.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/ClangFormat.dir/rule
# Convenience name for target.
ClangFormat: CMakeFiles/ClangFormat.dir/rule
.PHONY : ClangFormat
# clean rule for target.
CMakeFiles/ClangFormat.dir/clean:
$(MAKE) -f CMakeFiles/ClangFormat.dir/build.make CMakeFiles/ClangFormat.dir/clean
.PHONY : CMakeFiles/ClangFormat.dir/clean
# clean rule for target.
clean: CMakeFiles/ClangFormat.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/UnitTestRunner.dir
# All Build rule for target.
CMakeFiles/UnitTestRunner.dir/all: googletest-build/googletest/CMakeFiles/gtest_main.dir/all
CMakeFiles/UnitTestRunner.dir/all: googletest-build/googletest/CMakeFiles/gtest.dir/all
$(MAKE) -f CMakeFiles/UnitTestRunner.dir/build.make CMakeFiles/UnitTestRunner.dir/depend
$(MAKE) -f CMakeFiles/UnitTestRunner.dir/build.make CMakeFiles/UnitTestRunner.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=4,5,6 "Built target UnitTestRunner"
.PHONY : CMakeFiles/UnitTestRunner.dir/all
# Include target in all.
all: CMakeFiles/UnitTestRunner.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/UnitTestRunner.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 7
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/UnitTestRunner.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/UnitTestRunner.dir/rule
# Convenience name for target.
UnitTestRunner: CMakeFiles/UnitTestRunner.dir/rule
.PHONY : UnitTestRunner
# clean rule for target.
CMakeFiles/UnitTestRunner.dir/clean:
$(MAKE) -f CMakeFiles/UnitTestRunner.dir/build.make CMakeFiles/UnitTestRunner.dir/clean
.PHONY : CMakeFiles/UnitTestRunner.dir/clean
# clean rule for target.
clean: CMakeFiles/UnitTestRunner.dir/clean
.PHONY : clean
#=============================================================================
# Directory level rules for directory googletest-build
# Convenience name for "all" pass in the directory.
googletest-build/all: googletest-build/googlemock/all
.PHONY : googletest-build/all
# Convenience name for "clean" pass in the directory.
googletest-build/clean: googletest-build/googlemock/clean
.PHONY : googletest-build/clean
# Convenience name for "preinstall" pass in the directory.
googletest-build/preinstall: googletest-build/googlemock/preinstall
.PHONY : googletest-build/preinstall
#=============================================================================
# Directory level rules for directory googletest-build/googlemock
# Convenience name for "all" pass in the directory.
googletest-build/googlemock/all: googletest-build/googletest/all
.PHONY : googletest-build/googlemock/all
# Convenience name for "clean" pass in the directory.
googletest-build/googlemock/clean: googletest-build/googlemock/CMakeFiles/gmock.dir/clean
googletest-build/googlemock/clean: googletest-build/googlemock/CMakeFiles/gmock_main.dir/clean
googletest-build/googlemock/clean: googletest-build/googletest/clean
.PHONY : googletest-build/googlemock/clean
# Convenience name for "preinstall" pass in the directory.
googletest-build/googlemock/preinstall: googletest-build/googletest/preinstall
.PHONY : googletest-build/googlemock/preinstall
#=============================================================================
# Target rules for target googletest-build/googlemock/CMakeFiles/gmock.dir
# All Build rule for target.
googletest-build/googlemock/CMakeFiles/gmock.dir/all: googletest-build/googletest/CMakeFiles/gtest.dir/all
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock.dir/build.make googletest-build/googlemock/CMakeFiles/gmock.dir/depend
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock.dir/build.make googletest-build/googlemock/CMakeFiles/gmock.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=7,8 "Built target gmock"
.PHONY : googletest-build/googlemock/CMakeFiles/gmock.dir/all
# Build rule for subdir invocation for target.
googletest-build/googlemock/CMakeFiles/gmock.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 4
$(MAKE) -f CMakeFiles/Makefile2 googletest-build/googlemock/CMakeFiles/gmock.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : googletest-build/googlemock/CMakeFiles/gmock.dir/rule
# Convenience name for target.
gmock: googletest-build/googlemock/CMakeFiles/gmock.dir/rule
.PHONY : gmock
# clean rule for target.
googletest-build/googlemock/CMakeFiles/gmock.dir/clean:
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock.dir/build.make googletest-build/googlemock/CMakeFiles/gmock.dir/clean
.PHONY : googletest-build/googlemock/CMakeFiles/gmock.dir/clean
# clean rule for target.
clean: googletest-build/googlemock/CMakeFiles/gmock.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target googletest-build/googlemock/CMakeFiles/gmock_main.dir
# All Build rule for target.
googletest-build/googlemock/CMakeFiles/gmock_main.dir/all: googletest-build/googlemock/CMakeFiles/gmock.dir/all
googletest-build/googlemock/CMakeFiles/gmock_main.dir/all: googletest-build/googletest/CMakeFiles/gtest.dir/all
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock_main.dir/build.make googletest-build/googlemock/CMakeFiles/gmock_main.dir/depend
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock_main.dir/build.make googletest-build/googlemock/CMakeFiles/gmock_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=9,10 "Built target gmock_main"
.PHONY : googletest-build/googlemock/CMakeFiles/gmock_main.dir/all
# Build rule for subdir invocation for target.
googletest-build/googlemock/CMakeFiles/gmock_main.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 6
$(MAKE) -f CMakeFiles/Makefile2 googletest-build/googlemock/CMakeFiles/gmock_main.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : googletest-build/googlemock/CMakeFiles/gmock_main.dir/rule
# Convenience name for target.
gmock_main: googletest-build/googlemock/CMakeFiles/gmock_main.dir/rule
.PHONY : gmock_main
# clean rule for target.
googletest-build/googlemock/CMakeFiles/gmock_main.dir/clean:
$(MAKE) -f googletest-build/googlemock/CMakeFiles/gmock_main.dir/build.make googletest-build/googlemock/CMakeFiles/gmock_main.dir/clean
.PHONY : googletest-build/googlemock/CMakeFiles/gmock_main.dir/clean
# clean rule for target.
clean: googletest-build/googlemock/CMakeFiles/gmock_main.dir/clean
.PHONY : clean
#=============================================================================
# Directory level rules for directory googletest-build/googletest
# Convenience name for "all" pass in the directory.
googletest-build/googletest/all:
.PHONY : googletest-build/googletest/all
# Convenience name for "clean" pass in the directory.
googletest-build/googletest/clean: googletest-build/googletest/CMakeFiles/gtest_main.dir/clean
googletest-build/googletest/clean: googletest-build/googletest/CMakeFiles/gtest.dir/clean
.PHONY : googletest-build/googletest/clean
# Convenience name for "preinstall" pass in the directory.
googletest-build/googletest/preinstall:
.PHONY : googletest-build/googletest/preinstall
#=============================================================================
# Target rules for target googletest-build/googletest/CMakeFiles/gtest_main.dir
# All Build rule for target.
googletest-build/googletest/CMakeFiles/gtest_main.dir/all: googletest-build/googletest/CMakeFiles/gtest.dir/all
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest_main.dir/build.make googletest-build/googletest/CMakeFiles/gtest_main.dir/depend
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest_main.dir/build.make googletest-build/googletest/CMakeFiles/gtest_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=13,14 "Built target gtest_main"
.PHONY : googletest-build/googletest/CMakeFiles/gtest_main.dir/all
# Build rule for subdir invocation for target.
googletest-build/googletest/CMakeFiles/gtest_main.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 4
$(MAKE) -f CMakeFiles/Makefile2 googletest-build/googletest/CMakeFiles/gtest_main.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : googletest-build/googletest/CMakeFiles/gtest_main.dir/rule
# Convenience name for target.
gtest_main: googletest-build/googletest/CMakeFiles/gtest_main.dir/rule
.PHONY : gtest_main
# clean rule for target.
googletest-build/googletest/CMakeFiles/gtest_main.dir/clean:
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest_main.dir/build.make googletest-build/googletest/CMakeFiles/gtest_main.dir/clean
.PHONY : googletest-build/googletest/CMakeFiles/gtest_main.dir/clean
# clean rule for target.
clean: googletest-build/googletest/CMakeFiles/gtest_main.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target googletest-build/googletest/CMakeFiles/gtest.dir
# All Build rule for target.
googletest-build/googletest/CMakeFiles/gtest.dir/all:
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest.dir/build.make googletest-build/googletest/CMakeFiles/gtest.dir/depend
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest.dir/build.make googletest-build/googletest/CMakeFiles/gtest.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=11,12 "Built target gtest"
.PHONY : googletest-build/googletest/CMakeFiles/gtest.dir/all
# Build rule for subdir invocation for target.
googletest-build/googletest/CMakeFiles/gtest.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 googletest-build/googletest/CMakeFiles/gtest.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles 0
.PHONY : googletest-build/googletest/CMakeFiles/gtest.dir/rule
# Convenience name for target.
gtest: googletest-build/googletest/CMakeFiles/gtest.dir/rule
.PHONY : gtest
# clean rule for target.
googletest-build/googletest/CMakeFiles/gtest.dir/clean:
$(MAKE) -f googletest-build/googletest/CMakeFiles/gtest.dir/build.make googletest-build/googletest/CMakeFiles/gtest.dir/clean
.PHONY : googletest-build/googletest/CMakeFiles/gtest.dir/clean
# clean rule for target.
clean: googletest-build/googletest/CMakeFiles/gtest.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,32 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
gtest/gtest.h
/Users/bradybodily/Repositories/CS3460/Hw3/gtest/gtest.h
numeric
-
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iomanip
-
iostream
-
random
-
vector
-
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iostream
-

View File

@@ -0,0 +1,21 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o"
"/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandDistributions.dir/main.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "AppleClang")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
)
# 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,113 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/RandDistributions.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/RandDistributions.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/RandDistributions.dir/flags.make
CMakeFiles/RandDistributions.dir/main.cpp.o: CMakeFiles/RandDistributions.dir/flags.make
CMakeFiles/RandDistributions.dir/main.cpp.o: ../main.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/RandDistributions.dir/main.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/RandDistributions.dir/main.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
CMakeFiles/RandDistributions.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/RandDistributions.dir/main.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp > CMakeFiles/RandDistributions.dir/main.cpp.i
CMakeFiles/RandDistributions.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/RandDistributions.dir/main.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp -o CMakeFiles/RandDistributions.dir/main.cpp.s
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o: CMakeFiles/RandDistributions.dir/flags.make
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o: ../TestDistributions.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/RandDistributions.dir/TestDistributions.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp > CMakeFiles/RandDistributions.dir/TestDistributions.cpp.i
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/RandDistributions.dir/TestDistributions.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp -o CMakeFiles/RandDistributions.dir/TestDistributions.cpp.s
# Object files for target RandDistributions
RandDistributions_OBJECTS = \
"CMakeFiles/RandDistributions.dir/main.cpp.o" \
"CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o"
# External object files for target RandDistributions
RandDistributions_EXTERNAL_OBJECTS =
RandDistributions: CMakeFiles/RandDistributions.dir/main.cpp.o
RandDistributions: CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o
RandDistributions: CMakeFiles/RandDistributions.dir/build.make
RandDistributions: CMakeFiles/RandDistributions.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX executable RandDistributions"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/RandDistributions.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/RandDistributions.dir/build: RandDistributions
.PHONY : CMakeFiles/RandDistributions.dir/build
CMakeFiles/RandDistributions.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/RandDistributions.dir/cmake_clean.cmake
.PHONY : CMakeFiles/RandDistributions.dir/clean
CMakeFiles/RandDistributions.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandDistributions.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/RandDistributions.dir/depend

View File

@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/RandDistributions.dir/main.cpp.o"
"CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o"
"RandDistributions.pdb"
"RandDistributions"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/RandDistributions.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
CMakeFiles/RandDistributions.dir/main.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o: ../TestDistributions.cpp
CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o: ../distributions.hpp
CMakeFiles/RandDistributions.dir/main.cpp.o: ../distributions.hpp
CMakeFiles/RandDistributions.dir/main.cpp.o: ../main.cpp

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=gnu++1z
CXX_DEFINES =
CXX_INCLUDES =

View File

@@ -0,0 +1 @@
/Library/Developer/CommandLineTools/usr/bin/c++ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/RandDistributions.dir/main.cpp.o CMakeFiles/RandDistributions.dir/TestDistributions.cpp.o -o RandDistributions

View File

@@ -0,0 +1,4 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3

View File

@@ -0,0 +1,28 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iomanip
-
iostream
-
random
-
vector
-
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iostream
-

View File

@@ -0,0 +1,21 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandomDistributions.dir/distributions.cpp.o"
"/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandomDistributions.dir/main.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "AppleClang")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
)
# 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,113 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/RandomDistributions.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/RandomDistributions.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/RandomDistributions.dir/flags.make
CMakeFiles/RandomDistributions.dir/distributions.cpp.o: CMakeFiles/RandomDistributions.dir/flags.make
CMakeFiles/RandomDistributions.dir/distributions.cpp.o: ../distributions.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/RandomDistributions.dir/distributions.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/RandomDistributions.dir/distributions.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
CMakeFiles/RandomDistributions.dir/distributions.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/RandomDistributions.dir/distributions.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp > CMakeFiles/RandomDistributions.dir/distributions.cpp.i
CMakeFiles/RandomDistributions.dir/distributions.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/RandomDistributions.dir/distributions.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp -o CMakeFiles/RandomDistributions.dir/distributions.cpp.s
CMakeFiles/RandomDistributions.dir/main.cpp.o: CMakeFiles/RandomDistributions.dir/flags.make
CMakeFiles/RandomDistributions.dir/main.cpp.o: ../main.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/RandomDistributions.dir/main.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/RandomDistributions.dir/main.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp
CMakeFiles/RandomDistributions.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/RandomDistributions.dir/main.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp > CMakeFiles/RandomDistributions.dir/main.cpp.i
CMakeFiles/RandomDistributions.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/RandomDistributions.dir/main.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/main.cpp -o CMakeFiles/RandomDistributions.dir/main.cpp.s
# Object files for target RandomDistributions
RandomDistributions_OBJECTS = \
"CMakeFiles/RandomDistributions.dir/distributions.cpp.o" \
"CMakeFiles/RandomDistributions.dir/main.cpp.o"
# External object files for target RandomDistributions
RandomDistributions_EXTERNAL_OBJECTS =
RandomDistributions: CMakeFiles/RandomDistributions.dir/distributions.cpp.o
RandomDistributions: CMakeFiles/RandomDistributions.dir/main.cpp.o
RandomDistributions: CMakeFiles/RandomDistributions.dir/build.make
RandomDistributions: CMakeFiles/RandomDistributions.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX executable RandomDistributions"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/RandomDistributions.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/RandomDistributions.dir/build: RandomDistributions
.PHONY : CMakeFiles/RandomDistributions.dir/build
CMakeFiles/RandomDistributions.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/RandomDistributions.dir/cmake_clean.cmake
.PHONY : CMakeFiles/RandomDistributions.dir/clean
CMakeFiles/RandomDistributions.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandomDistributions.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/RandomDistributions.dir/depend

View File

@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/RandomDistributions.dir/distributions.cpp.o"
"CMakeFiles/RandomDistributions.dir/main.cpp.o"
"RandomDistributions.pdb"
"RandomDistributions"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/RandomDistributions.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/RandomDistributions.dir/distributions.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
CMakeFiles/RandomDistributions.dir/main.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/main.cpp

View File

@@ -0,0 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/RandomDistributions.dir/distributions.cpp.o: ../distributions.cpp
CMakeFiles/RandomDistributions.dir/distributions.cpp.o: ../distributions.hpp
CMakeFiles/RandomDistributions.dir/main.cpp.o: ../distributions.hpp
CMakeFiles/RandomDistributions.dir/main.cpp.o: ../main.cpp

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=gnu++1z
CXX_DEFINES =
CXX_INCLUDES =

View File

@@ -0,0 +1 @@
/Library/Developer/CommandLineTools/usr/bin/c++ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/RandomDistributions.dir/distributions.cpp.o CMakeFiles/RandomDistributions.dir/main.cpp.o -o RandomDistributions

View File

@@ -0,0 +1,4 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3

View File

@@ -0,0 +1,31 @@
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/install/local.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/install/strip.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/install.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/list_install_components.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/RandomDistributions.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/ClangFormat.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/UnitTestRunner.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/install/local.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/install/strip.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/install.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/list_install_components.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/install/local.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/install/strip.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/install.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/gmock.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/gmock_main.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googlemock/CMakeFiles/list_install_components.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/install/local.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/list_install_components.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/rebuild_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/edit_cache.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/install/strip.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/install.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/gtest_main.dir
/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/gtest.dir

View File

@@ -0,0 +1,320 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
distributions.hpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
gtest/gtest.h
/Users/bradybodily/Repositories/CS3460/Hw3/gtest/gtest.h
numeric
-
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
iomanip
-
iostream
-
random
-
vector
-
googletest-src/googletest/include/gtest/gtest-death-test.h
gtest/internal/gtest-death-test-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-death-test-internal.h
googletest-src/googletest/include/gtest/gtest-matchers.h
memory
-
ostream
-
string
-
type_traits
-
gtest/gtest-printers.h
googletest-src/googletest/include/gtest/gtest/gtest-printers.h
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest-message.h
limits
-
memory
-
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest-param-test.h
iterator
-
utility
-
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-param-util.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-param-util.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest-printers.h
functional
-
ostream
-
sstream
-
string
-
tuple
-
type_traits
-
utility
-
vector
-
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-port.h
absl/strings/string_view.h
googletest-src/googletest/include/gtest/absl/strings/string_view.h
absl/types/optional.h
googletest-src/googletest/include/gtest/absl/types/optional.h
absl/types/variant.h
googletest-src/googletest/include/gtest/absl/types/variant.h
gtest/internal/custom/gtest-printers.h
googletest-src/googletest/include/gtest/gtest/internal/custom/gtest-printers.h
googletest-src/googletest/include/gtest/gtest-test-part.h
iosfwd
-
vector
-
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/gtest-typed-test.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-type-util.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-type-util.h
googletest-src/googletest/include/gtest/gtest.h
cstddef
-
limits
-
memory
-
ostream
-
type_traits
-
vector
-
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/gtest/internal/gtest-string.h
gtest/gtest-death-test.h
googletest-src/googletest/include/gtest/gtest/gtest-death-test.h
gtest/gtest-matchers.h
googletest-src/googletest/include/gtest/gtest/gtest-matchers.h
gtest/gtest-message.h
googletest-src/googletest/include/gtest/gtest/gtest-message.h
gtest/gtest-param-test.h
googletest-src/googletest/include/gtest/gtest/gtest-param-test.h
gtest/gtest-printers.h
googletest-src/googletest/include/gtest/gtest/gtest-printers.h
gtest/gtest_prod.h
googletest-src/googletest/include/gtest/gtest/gtest_prod.h
gtest/gtest-test-part.h
googletest-src/googletest/include/gtest/gtest/gtest-test-part.h
gtest/gtest-typed-test.h
googletest-src/googletest/include/gtest/gtest/gtest-typed-test.h
gtest/gtest_pred_impl.h
googletest-src/googletest/include/gtest/gtest/gtest_pred_impl.h
googletest-src/googletest/include/gtest/gtest_pred_impl.h
gtest/gtest.h
googletest-src/googletest/include/gtest/gtest/gtest.h
googletest-src/googletest/include/gtest/gtest_prod.h
googletest-src/googletest/include/gtest/internal/custom/gtest-port.h
googletest-src/googletest/include/gtest/internal/custom/gtest-printers.h
googletest-src/googletest/include/gtest/internal/gtest-death-test-internal.h
gtest/gtest-matchers.h
googletest-src/googletest/include/gtest/internal/gtest/gtest-matchers.h
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-internal.h
stdio.h
-
memory
-
googletest-src/googletest/include/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-port.h
stdlib.h
-
sys/types.h
-
sys/wait.h
-
unistd.h
-
stdexcept
-
ctype.h
-
float.h
-
string.h
-
iomanip
-
limits
-
map
-
set
-
string
-
type_traits
-
vector
-
gtest/gtest-message.h
googletest-src/googletest/include/gtest/internal/gtest/gtest-message.h
gtest/internal/gtest-filepath.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-string.h
gtest/internal/gtest-type-util.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-type-util.h
googletest-src/googletest/include/gtest/internal/gtest-param-util.h
ctype.h
-
cassert
-
iterator
-
memory
-
set
-
tuple
-
utility
-
vector
-
gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-port.h
gtest/gtest-printers.h
googletest-src/googletest/include/gtest/internal/gtest/gtest-printers.h
googletest-src/googletest/include/gtest/internal/gtest-port-arch.h
winapifamily.h
-
googletest-src/googletest/include/gtest/internal/gtest-port.h
ctype.h
-
stddef.h
-
stdio.h
-
stdlib.h
-
string.h
-
memory
-
type_traits
-
sys/types.h
-
sys/stat.h
-
AvailabilityMacros.h
-
TargetConditionals.h
-
algorithm
-
iostream
-
sstream
-
string
-
tuple
-
utility
-
vector
-
gtest/internal/gtest-port-arch.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-port-arch.h
gtest/internal/custom/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest/internal/custom/gtest-port.h
direct.h
-
io.h
-
unistd.h
-
strings.h
-
android/api-level.h
-
regex.h
-
typeinfo
-
pthread.h
-
time.h
-
googletest-src/googletest/include/gtest/internal/gtest-string.h
mem.h
-
string.h
-
string
-
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest-type-util.h
gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest/internal/gtest-port.h
cxxabi.h
-
acxx_demangle.h
-

View File

@@ -0,0 +1,25 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o"
"/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp" "/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/UnitTestRunner.dir/distributions.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "AppleClang")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"googletest-src/googletest/include"
"googletest-src/googletest"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/gtest_main.dir/DependInfo.cmake"
"/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-build/googletest/CMakeFiles/gtest.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,115 @@
# 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/Hw3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/UnitTestRunner.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/UnitTestRunner.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/UnitTestRunner.dir/flags.make
CMakeFiles/UnitTestRunner.dir/distributions.cpp.o: CMakeFiles/UnitTestRunner.dir/flags.make
CMakeFiles/UnitTestRunner.dir/distributions.cpp.o: ../distributions.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/UnitTestRunner.dir/distributions.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/UnitTestRunner.dir/distributions.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
CMakeFiles/UnitTestRunner.dir/distributions.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/UnitTestRunner.dir/distributions.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp > CMakeFiles/UnitTestRunner.dir/distributions.cpp.i
CMakeFiles/UnitTestRunner.dir/distributions.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/UnitTestRunner.dir/distributions.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp -o CMakeFiles/UnitTestRunner.dir/distributions.cpp.s
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: CMakeFiles/UnitTestRunner.dir/flags.make
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: ../TestDistributions.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o -c /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp > CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.i
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp -o CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.s
# Object files for target UnitTestRunner
UnitTestRunner_OBJECTS = \
"CMakeFiles/UnitTestRunner.dir/distributions.cpp.o" \
"CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o"
# External object files for target UnitTestRunner
UnitTestRunner_EXTERNAL_OBJECTS =
UnitTestRunner: CMakeFiles/UnitTestRunner.dir/distributions.cpp.o
UnitTestRunner: CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o
UnitTestRunner: CMakeFiles/UnitTestRunner.dir/build.make
UnitTestRunner: lib/libgtest_maind.a
UnitTestRunner: lib/libgtestd.a
UnitTestRunner: CMakeFiles/UnitTestRunner.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX executable UnitTestRunner"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/UnitTestRunner.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/UnitTestRunner.dir/build: UnitTestRunner
.PHONY : CMakeFiles/UnitTestRunner.dir/build
CMakeFiles/UnitTestRunner.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/UnitTestRunner.dir/cmake_clean.cmake
.PHONY : CMakeFiles/UnitTestRunner.dir/clean
CMakeFiles/UnitTestRunner.dir/depend:
cd /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3 /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/CMakeFiles/UnitTestRunner.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/UnitTestRunner.dir/depend

View File

@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/UnitTestRunner.dir/distributions.cpp.o"
"CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o"
"UnitTestRunner.pdb"
"UnitTestRunner"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/UnitTestRunner.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,29 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/TestDistributions.cpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp
googletest-src/googletest/include/gtest/gtest-death-test.h
googletest-src/googletest/include/gtest/gtest-matchers.h
googletest-src/googletest/include/gtest/gtest-message.h
googletest-src/googletest/include/gtest/gtest-param-test.h
googletest-src/googletest/include/gtest/gtest-printers.h
googletest-src/googletest/include/gtest/gtest-test-part.h
googletest-src/googletest/include/gtest/gtest-typed-test.h
googletest-src/googletest/include/gtest/gtest.h
googletest-src/googletest/include/gtest/gtest_pred_impl.h
googletest-src/googletest/include/gtest/gtest_prod.h
googletest-src/googletest/include/gtest/internal/custom/gtest-port.h
googletest-src/googletest/include/gtest/internal/custom/gtest-printers.h
googletest-src/googletest/include/gtest/internal/gtest-death-test-internal.h
googletest-src/googletest/include/gtest/internal/gtest-filepath.h
googletest-src/googletest/include/gtest/internal/gtest-internal.h
googletest-src/googletest/include/gtest/internal/gtest-param-util.h
googletest-src/googletest/include/gtest/internal/gtest-port-arch.h
googletest-src/googletest/include/gtest/internal/gtest-port.h
googletest-src/googletest/include/gtest/internal/gtest-string.h
googletest-src/googletest/include/gtest/internal/gtest-type-util.h
CMakeFiles/UnitTestRunner.dir/distributions.cpp.o
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.cpp
/Users/bradybodily/Repositories/CS3460/Hw3/distributions.hpp

View File

@@ -0,0 +1,29 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: ../TestDistributions.cpp
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: ../distributions.hpp
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-death-test.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-matchers.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-message.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-param-test.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-printers.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-test-part.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest-typed-test.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest_pred_impl.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/gtest_prod.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/custom/gtest-port.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/custom/gtest-printers.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-death-test-internal.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-filepath.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-internal.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-param-util.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-port-arch.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-port.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-string.h
CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o: googletest-src/googletest/include/gtest/internal/gtest-type-util.h
CMakeFiles/UnitTestRunner.dir/distributions.cpp.o: ../distributions.cpp
CMakeFiles/UnitTestRunner.dir/distributions.cpp.o: ../distributions.hpp

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_FLAGS = -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=gnu++1z
CXX_DEFINES =
CXX_INCLUDES = -isystem /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-src/googletest/include -isystem /Users/bradybodily/Repositories/CS3460/Hw3/cmake-build-debug/googletest-src/googletest

View File

@@ -0,0 +1 @@
/Library/Developer/CommandLineTools/usr/bin/c++ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/UnitTestRunner.dir/distributions.cpp.o CMakeFiles/UnitTestRunner.dir/TestDistributions.cpp.o -o UnitTestRunner lib/libgtest_maind.a lib/libgtestd.a

Some files were not shown because too many files have changed in this diff Show More