Permalink
Cannot retrieve contributors at this time
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?
4003CEM-compilation/.guides/content/CMake-7c24.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10 lines (7 sloc)
658 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
<h2 style="color:darkorange">Editing cmake</h2> | |
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) | |