1
0
mirror of synced 2024-05-28 00:10:09 +02:00
modern-cmake/chapters/testing.md

13 lines
230 B
Markdown
Raw Normal View History

2017-10-22 00:03:43 +02:00
# Testing
## General Testing Information
2018-03-29 19:30:00 +02:00
In your main CMakeLists.txt you need to add the following function call (not in a subfolder):
2017-10-22 00:03:43 +02:00
```cmake
2018-03-29 19:30:00 +02:00
enable_testing()
2017-10-22 00:03:43 +02:00
```
2018-03-29 19:30:00 +02:00
Look at the subchapters for recipes for popular frameworks.