Skip to content
Permalink
Browse files
Added change cmake task
  • Loading branch information
ac0745 committed Jan 20, 2020
1 parent b338cb7 commit 1a17af11b34d0f81bc7088ddb1bb8cea507bbde9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
@@ -31,4 +31,3 @@ add_library( print_two print_two.cpp )
add_executable( main main.cpp )
target_link_libraries( main print_two )


@@ -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.
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.
BIN +0 Bytes (100%) Solutions/solutions.zip
Binary file not shown.

0 comments on commit 1a17af1

Please sign in to comment.