diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f62bd..d038e5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,4 +31,3 @@ add_library( print_two print_two.cpp ) add_executable( main main.cpp ) target_link_libraries( main print_two ) - diff --git a/README.md b/README.md index 27dca3c..e9598e0 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,10 @@ This executable should be placed in the bin/ directory. ## Compiling with cmake Compile the main.cpp file into an executable using the supplied cmake project file. The project file has been set up to produce and executable called "main". -This should be all the information needed to compile it. \ No newline at end of file +This should be all the information needed to compile it. + +## Editing cmake +The files passwords.h, passwords.cpp and validate.cpp have been provided for you. +passwords.h and passwords.cpp contain a pair of functions, validate.cpp contains a main() that uses those functions. +Edit your CMakeLists.txt file to compile validate.cpp into an executable program called validate. +passwords.h/.cpp should be treated as a library that is used by validate.cpp. \ No newline at end of file diff --git a/Solutions/solutions.zip b/Solutions/solutions.zip index 4f69dff..90741ce 100644 Binary files a/Solutions/solutions.zip and b/Solutions/solutions.zip differ