Feature #827

Feature #418: === Configuration & Build ===

Forbid in-source build

Added by pospelov almost 6 years ago. Updated about 5 years ago.

Status:ArchivedStart date:29 Sep 2014
Priority:NormalDue date:
Assignee:wuttke% Done:


Target version:Sprint 26


Cmake should warn user if he tries to build in source directory.
It would be also nice to clean CMake remnants after such attempt.


#1 Updated by wuttke almost 6 years ago

  • File PreventInSourceBuilds.cmake added
  • Description updated (diff)

Add this to CMakeLists.txt:

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) # probably it's there already

to include the attached file (from Frida).

If you find a way to clean up automatically, then please contribute it back to Frida.

#2 Updated by wuttke over 5 years ago

  • Status changed from New to Resolved
  • Assignee set to wuttke

Resolved in f5f3f775f57, using the module from Frida as described in my preceding note.

#3 Updated by wuttke over 5 years ago

  • File deleted (PreventInSourceBuilds.cmake)

#4 Updated by wuttke over 5 years ago

  • Target version set to Sprint 26
  • % Done changed from 0 to 100

#5 Updated by pospelov about 5 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF