[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Issues setting CMAKE_VS_PLATFORM_TOOLSET
From:       J Decker <d3ck0r () gmail ! com>
Date:       2014-09-30 7:29:26
Message-ID: CAA2GJqU0jG-yJ3Z=4ucPDxVf4-Ypk+o76OuQ+qVQsxEHNe4r8A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Sep 30, 2014 at 12:15 AM, Nils Gladitz <nilsgladitz@gmail.com>
wrote:

> On 09/30/2014 09:02 AM, J Decker wrote:
>
>> I was recently trying to package some apps I was building, but ran into
>> an issue that they weren't compatible on XP.  ... I was setting
>> CMAKE_VS_PLATFORM_TOOLSET on the base SDK but that wasn't being relayed
>> to subsequent projects... so I fixed that, and the toolset still isn't
>> being set.
>>
>
> To set the platform toolset try -T <toolset> from the cmake command line.
>
> From what I can tell CMAKE_VS_PLATFORM_TOOLSET isn't meant to be set by
> the user but should reflect what you set with -T.
>
> okay... -T works; that complicates the chained-build though....
would be nice if I can just pick up and use the variable that was used for
core projects. *shrug*


> Nils
>

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 30, 2014 \
at 12:15 AM, Nils Gladitz <span dir="ltr">&lt;<a href="mailto:nilsgladitz@gmail.com" \
target="_blank">nilsgladitz@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 09/30/2014 09:02 AM, J Decker wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> I was recently trying to package some apps I was building, \
but ran into<br> an issue that they weren&#39;t compatible on XP.   ... I was \
setting<br> CMAKE_VS_PLATFORM_TOOLSET on the base SDK but that wasn&#39;t being \
relayed<br> to subsequent projects... so I fixed that, and the toolset still \
isn&#39;t<br> being set.<br>
</blockquote>
<br></span>
To set the platform toolset try -T &lt;toolset&gt; from the cmake command line.<br>
<br>
From what I can tell CMAKE_VS_PLATFORM_TOOLSET isn&#39;t meant to be set by the user \
but should reflect what you set with -T.<span class="HOEnZb"><font \
color="#888888"><br> <br></font></span></blockquote><div>okay... -T works; that \
complicates the chained-build though....</div><div>would be nice if I can just pick \
up and use the variable that was used for core projects. *shrug*  </div><div>  \
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"> Nils<br>
</font></span></blockquote></div><br></div></div>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic