[llvm-dev] Safety of changing values of variables by editing CMakeCache.txt Vs supplying them through the command line (original) (raw)
Sanjay Srivallabh Singapuram via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 8 10:54:16 PDT 2017
- Previous message: [llvm-dev] Safety of changing values of variables by editing CMakeCache.txt Vs supplying them through the command line
- Next message: [llvm-dev] Improving SCEV's behavior around IR level no-wrap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for your response Michael !
I would have to maintain a symlink which points to either directory then. Is that recommended ?
On Tue, 8 Aug 2017 at 23:14 Michael Kruse <llvmdev at meinersbur.de> wrote:
2017-08-08 19:32 GMT+02:00 Sanjay Srivallabh Singapuram via llvm-dev <llvm-dev at lists.llvm.org>: > Hello, > > I'm working on a project involving LLVM and keep shifting between the Debug > and Release build by assigning different values to CMAKEBUILDTYPE in > /CMakeCache.txt and then building it. > > I wanted to know if this was a safe alternative to re-configuring the build > after removing /CMakeFiles/ and /CMakeCache.txt.
Have two build directories which each point to the the same source folder. $ (mkdir release && cd release && cmake path/to/source -DCMAKEBUILDTYPE=Release) $ (mkdir debug && cd debug && cmake path/to/source -DCMAKEBUILDTYPE=Debug) Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170808/43c1b579/attachment.html>
- Previous message: [llvm-dev] Safety of changing values of variables by editing CMakeCache.txt Vs supplying them through the command line
- Next message: [llvm-dev] Improving SCEV's behavior around IR level no-wrap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]