Fix setup for for multi profile build generators
ClosedPublic

Authored by tbaumgart on May 13 2018, 8:09 AM.

Details

Diff Detail

Repository
R261 KMyMoney
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tbaumgart requested review of this revision.May 13 2018, 8:09 AM
tbaumgart created this revision.
christiand accepted this revision.May 13 2018, 10:20 AM
christiand added inline comments.
kmymoney/mymoney/CMakeLists.txt
45

Good solution. Btw, it is possible to squeeze everything into one line list(APPEND storage_a_SOURCES $<$<OR:$<CONFIG:DebugKMM>,$<CONFIG:DebugFull>,$<CONFIG:DebugKMM>>: ./storage/mymoneystoragedump.cpp>)

This revision is now accepted and ready to land.May 13 2018, 10:20 AM
tbaumgart marked an inline comment as done.May 13 2018, 10:34 AM
tbaumgart added inline comments.
kmymoney/mymoney/CMakeLists.txt
45

In fact I tried that, but always received an error from cmake, hence my solution to the problem. Using a copy of your statement (though I think I used the exact same syntax) works. I had to change the first DebugKMM into Debug though. I will land it then.

This revision was automatically updated to reflect the committed changes.
tbaumgart marked an inline comment as done.