Mixed Tool Chains Within A Single Build Environment (Windows Universal)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mixed Tool Chains Within A Single Build Environment (Windows Universal)

Kawicki, Ryan H

I am curious to know if it is possible to have a mixed tool chain environment within a single Visual Studio IDE.

 

I am playing around with changing up the frontend of an application to use the Window Universal Binary and XAML but many of the support libraries will not be converted to the universal binary format.  With C++/CX this is possible to do.  I can create a solution and add the appropriate projects to them, but this does not seem possible with CMake (or at least I have overlooked it).  With CMake, I create a project that references the Windows Universal Application toolchain, but each subsequent adding of a project library assumes it to also be a universal DLL or static library.

 

The work around I have created thus far is to just create two solution sets and build them independently, but it would be great if the two solutions could be merged into a single IDE for Visual Studio.  Any ideas if this is possible to do?  Is this something that CMake should provide in its functionality?

 

Thanks,

Ryan Kawicki


--

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mixed Tool Chains Within A Single Build Environment (Windows Universal)

刘松
One possible way is using “include toolchain_xxx.cmake" instead of using CMAKE_TOOLCHAIN_FILE, which is allowed a single toolchain in project.

And there the toolchain_xxx.cmake is setting up the compiler to be included in your sub cmake project.

发自我的 iPhone

在 2017年6月1日,00:36,Kawicki, Ryan H <[hidden email]> 写道:

I am curious to know if it is possible to have a mixed tool chain environment within a single Visual Studio IDE.

 

I am playing around with changing up the frontend of an application to use the Window Universal Binary and XAML but many of the support libraries will not be converted to the universal binary format.  With C++/CX this is possible to do.  I can create a solution and add the appropriate projects to them, but this does not seem possible with CMake (or at least I have overlooked it).  With CMake, I create a project that references the Windows Universal Application toolchain, but each subsequent adding of a project library assumes it to also be a universal DLL or static library.

 

The work around I have created thus far is to just create two solution sets and build them independently, but it would be great if the two solutions could be merged into a single IDE for Visual Studio.  Any ideas if this is possible to do?  Is this something that CMake should provide in its functionality?

 

Thanks,

Ryan Kawicki

--

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

--

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
Loading...