From 1a17af11b34d0f81bc7088ddb1bb8cea507bbde9 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 20 Jan 2020 17:31:10 +0000 Subject: [PATCH] Added change cmake task --- CMakeLists.txt | 1 - README.md | 8 +++++++- Solutions/solutions.zip | Bin 991 -> 991 bytes 3 files changed, 7 insertions(+), 2 deletions(-) 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 4f69dff4635301d024f569036774a8cd4036b6a0..90741ce8e50c46ea10b7b23177ffa317169e59d6 100644 GIT binary patch literal 991 zcmWIWW@Zs#U}xZ9*x79oaJF-6nIaPdgDVRI10MqegR^g9cB)TiaY?aWNkxh7lWnDw zKWPO$UU>9&?b|)IF)J2q3RJmPd+XyRGmfBt|GBQQ%;ylZ@4os>FUu)YKys_Bw&~R`U~CW5#=KZ>_7m+=R86lV0`c-rMjaAR;B{mcp$MHm@U+mMhpZO4wgqXTTA7 zDq?fcv>gw+pNlpedFy=3XlZL}RsH)8!#znNb^Vhgb~#BFY%*@WIOpbT2*FxG|w%op}zOAcmTXQnsrNa0H-_G+6^GY|yMBfvO zm93v~KY8!3-bt)&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