Skip to content

Produce error on in-source CMake build - #605

Merged
gmaurel merged 1 commit into
uncrustify:masterfrom
jibsen:disable-in-source-build
Aug 5, 2016
Merged

gmaurel merged 1 commit into
uncrustify:masterfrom
jibsen:disable-in-source-build

Conversation

@jibsen

@jibsen jibsen commented Aug 3, 2016

Copy link
Copy Markdown
Contributor

This adds an error message if the user attempts to run cmake from the source folder.

CMake still generates the CMakeFiles folder and CMakeCache.txt, so the user has to remove those, or the following out-of-source build will fail.

Sadly there does not appear to be a way to do this without creating
the CMakeFiles folder and CMakeCache.txt file, so request the user
remove these.

uncrustify#604
@gmaurel gmaurel added the Engineering Anything to do with building/releasing/deploying uncrustify; with CI; or with the test framework. label Aug 3, 2016
@jibsen jibsen mentioned this pull request Aug 3, 2016
8 tasks done
@gmaurel
gmaurel merged commit 2cefc31 into uncrustify:master Aug 5, 2016
@jibsen
jibsen deleted the disable-in-source-build branch August 6, 2016 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Anything to do with building/releasing/deploying uncrustify; with CI; or with the test framework.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants