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

List:       cmake
Subject:    [CMake] Generating Visual Studio 2008 solution with specified toolset in command-line
From:       Lukast dev <lukast.dev () gmail ! com>
Date:       2013-09-20 12:57:46
Message-ID: CAKdU0rO0X11=FnYc0eS6sGWgZ0JXnZ=RGYggHSLEZw1fxdcWFQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I partially ported our project from Visual Studio vcproj files to cmake.

I'm successful when I use cmake-gui and I select
generator "Visual Studio 9 2008 Windows Mobile 5.0 Smartphone SDK (ARMV4I).
Correct solution file is generated and I can compile.

Now I'm trying to generate solution file using command line for our
intergeration server and
right now running:

mkdir build
cd build
cmake .. -G "Visual Studio 9 2008"

generates Visual Studio 9 2008 solution and I would like to specify
somehow, not sure if toolset, but that "Windows Mobile 5.0 Smartphone SDK
(ARMV4I)" part.
I'm able to select it in the list of generators in cmake-gui.

How can I do that in console? I see that there is toolset -T,but it is
supported
by Visual Studio 2010 generator and later, but then how cmake-gui is doing
the trick?

Regards,
Lukas

[Attachment #5 (text/html)]

<div dir="ltr">Hello,<div><br></div><div>I partially ported our project from Visual \
Studio vcproj files to cmake.</div><div><br></div><div>I&#39;m successful when I use \
cmake-gui and I select </div><div>generator &quot;Visual Studio 9 2008 Windows Mobile \
5.0 Smartphone SDK (ARMV4I).</div> <div>Correct solution file is generated and I can \
compile.</div><div><br></div><div>Now I&#39;m trying to generate solution file using \
command line for our intergeration server and</div><div>right now \
running:</div><div><br> </div><div>mkdir build</div><div>cd build</div><div>cmake .. \
-G &quot;Visual Studio 9 2008&quot;</div><div><br></div><div>generates Visual Studio \
9 2008 solution and I would like to specify somehow, not sure if toolset, but that \
&quot;Windows Mobile 5.0 Smartphone SDK (ARMV4I)&quot; part. </div> <div>I&#39;m able \
to select it in the list of generators in cmake-gui.</div><div><br></div><div>How can \
I do that in console? I see that there is toolset -T,but it is supported \
</div><div>by Visual Studio 2010 generator and later, but then how cmake-gui is doing \
the trick?</div> <div><br></div><div>Regards,</div><div>Lukas</div><div><br></div><div><br></div><div><br></div><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://www.cmake.org/mailman/listinfo/cmake



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

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