Skip to content
Permalink
e572cca6b4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (7 sloc) 658 Bytes

Having demonstrated that you are able to use CMake to build a project, it is time to edit and existing project in order to add new functionality.

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** and **.cpp** should be treated as a library that is used by **validate**.

{Check It!|assessment}(test-2118214315)