These are chat archives for PX4/Hardware

1st
Jan 2016
Mark Whitehorn
@kd0aij
Jan 01 2016 20:02
anyone know how to get cmake to configure a shadow build for fmuV4 without editing CMakeLists.txt?
Lorenz Meier
@LorenzMeier
Jan 01 2016 20:06
its a cmake variable
The best option you have is to make the CMakeLists.txt evaluate an env var
then you can let your IDE set that
Mark Whitehorn
@kd0aij
Jan 01 2016 20:16
Is it not a standard QtCreator thing? I'm not very familiar with it yet.
Lorenz Meier
@LorenzMeier
Jan 01 2016 20:36
If unsure just keep a local edit of that file
Things like that are not worth spending your time on unless you find a quick solution
Mark Whitehorn
@kd0aij
Jan 01 2016 20:37
agreed, but the local file gets committed accidentally
Lorenz Meier
@LorenzMeier
Jan 01 2016 20:37
Not if you use git status and git diff 8)
The kind of rigor that results in a clean PR also prevents accidental file commits
Mark Whitehorn
@kd0aij
Jan 01 2016 20:39
:) I do use status and diff
but now I remember I committed that file on purpose for convenience, but forgot to make it a separate commit