# automated testing of CMakelists.txt file before generation

**URL:** https://discourse.cmake.org/t/automated-testing-of-cmakelists-txt-file-before-generation/2651
**Category:** Community
**Created:** [January 28, 2021, 7:11pm UTC](https://discourse.cmake.org/t/automated-testing-of-cmakelists-txt-file-before-generation/2651 "2021-01-28T19:11:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Rich\_Cole](https://discourse.cmake.org/user_avatar/discourse.cmake.org/rich_cole/32/1152_2.png) [@Rich\_Cole](https://discourse.cmake.org/u/Rich_Cole)
#### Post date: [January 28, 2021, 7:11pm UTC](https://discourse.cmake.org/t/automated-testing-of-cmakelists-txt-file-before-generation/2651/1 "2021-01-28T19:11:51Z")

</div>

has anyone developed a test or script to automate testing of CMakelists.txt file before generation. I need to test the CMakeList files to make sure the “developers” don’t mess up the defined variables before specific build get generated.
