Scott Aron Bloom wrote:
The problem I see, is the code only gets executed once, and at that point
the CMAKE_BUILD_TYPE isn't set yet.. Yes I realize this for windows, so
it is a multi-config system.. but I cant believe Im the only one with this
issue.
See
, CMAKE_CFG_INTDIR must not be used in multi-config…
So use wrapper CMAKE_BUILD_CONFIG.
This is why I have two different variables!
Hope this is helpful.
Marc
From: CMake on behalf of Scott Aron Bloom
Date: Tuesday 19 May 2015 19:42
To: cmake@cmake.orgmailto:cmake@cmake.org
Subject: [CMake] Setting install dir
That makes sense.. Ill play with it and see.
It looks like a straight forward solution…
Scott
From: CHEVRIER, Marc [mailto:marc.chevr...@sap.com]
Sent: Wednesday, May 20, 2015 12:00 AM
To: Scott Aron Bloom; cmake@cmake.org
Subject: Re: [CMake] Setting install dir based on Debug or Release
We use the install system, and love it.
However, since our install include copies of 3rd party debug libraries that are
named the same as the release counterparts (not our call ;() I would like to
just have a the path be install.deb rather than install
We set the CMAKE_INSTLL_PREFIX variable,