Compile time env settings may most easily be achieved (and in a
cross-platform manner) by writing cmake scripts (called with cmake -P on the
command line) and then using them as custom build steps via
add_custom_command and add_custom_target calls. The scripts run in Visual
Studio's environment, bu
I figured I would tickle this again, b/c it seemed like you knew a solution...
Cheers,
Tim
On Wed, Dec 9, 2009 at 12:01 PM, Tim St. Clair wrote:
> Environment variable, for the exact reason you mentioned.
>
> On Wed, Dec 9, 2009 at 11:23 AM, Mike Jackson
> wrote:
>> On Wed, Dec 9, 2009 at 12:09
Environment variable, for the exact reason you mentioned.
On Wed, Dec 9, 2009 at 11:23 AM, Mike Jackson
wrote:
> On Wed, Dec 9, 2009 at 12:09 PM, Tim St. Clair wrote:
>> when using vsprops on windows, you can set environment variables which
>> will be exist for a given project when it compiles.
On Wed, Dec 9, 2009 at 12:09 PM, Tim St. Clair wrote:
> when using vsprops on windows, you can set environment variables which
> will be exist for a given project when it compiles.
>
> The example given in the link below:
> set_tests_properties(SomeTest PROPERTIES ENVIRONMENT
> "PATH=c:\somedir;c:
when using vsprops on windows, you can set environment variables which
will be exist for a given project when it compiles.
The example given in the link below:
set_tests_properties(SomeTest PROPERTIES ENVIRONMENT
"PATH=c:\somedir;c:\otherdir")
is close to what I'm looking for, but I would like it
On Wed, Dec 09, 2009 at 07:49:12AM -0600, Tim St. Clair wrote:
> Is there support for visual studio property sheets in CMAKE, or the
> equivalent for *compile-time* env settings?
I haven't played with this solution but maybe it will help:
http://stackoverflow.com/questions/1005901/how-to-set-path
Is there support for visual studio property sheets in CMAKE, or the
equivalent for *compile-time* env settings?
I need this for projects which call out to legacy scripts which
require those vars during compilation.
I have had little luck finding this information online, and there are
no (+,-) ref