Yes, it seems that cmake does not store that ID as befere. Thus I just
create my own UUID ;-)
String( UUID ...)
Am 08.12.2015 um 12:28 schrieb Nils Gladitz:
On 12/08/2015 12:06 PM, Dr. Sören Textor wrote:
Taking a look at the CMakeCache.txt offers the missing
${target_name}_GUID_CMAKE
va
On 12/08/2015 12:06 PM, Dr. Sören Textor wrote:
Taking a look at the CMakeCache.txt offers the missing
${target_name}_GUID_CMAKE
variable.
Thus
set_property(CACHE ${target_name}_GUID_CMAKE PROPERTY VALUE ${MY_GUID} )
seems to work.
But how do I get the actual GUID set by CMake? This one
; />/CC: "Sören Freudiger" <http://www.cmake.org/mailman/listinfo/cmake>>, cmake at cmake.org
<http://www.cmake.org/mailman/listinfo/cmake> />/Betreff: Re: [CMake] Fixed ProjectGUID /
>/Hello, />//>/In Visual Studio 2010, ProjectGUID is a global. This bug provides a /
ke.org
<http://www.cmake.org/mailman/listinfo/cmake> />/Betreff: Re: [CMake] Fixed ProjectGUID /
/Hello, />//>/In Visual Studio 2010, ProjectGUID is a global. This bug provides a />/patch to add global definitions to CMake, but only up to Visual Studio />/2008. It shouldn'
"Sören Freudiger" , cmake@cmake.org
> Betreff: Re: [CMake] Fixed ProjectGUID
> Hello,
>
> In Visual Studio 2010, ProjectGUID is a global. This bug provides a
> patch to add global definitions to CMake, but only up to Visual Studio
> 2008. It shouldn't be difficult
Hello,
In Visual Studio 2010, ProjectGUID is a global. This bug provides a
patch to add global definitions to CMake, but only up to Visual Studio
2008. It shouldn't be difficult to update the patch to add support for
Visual C++ 2010. Setting the ProjectGUID would then be as easy as:
set_target_pr
The guids should remain constant in a given build tree for the life of the
CMakeCache.txt file.
But after you delete that and start in a fresh build tree, you'll get fresh
guids.
If you want constant guids in your vcproj files, they should be built by
hand, not with CMake.
HTH,
David
2011/1/7
Hello
Is it possible to set the ProjectGUID by CMake? Every time I generate a vcproj
file with CMake the ProjectGUID changes. But we need to have a fixed one
(because other projects are including the vcproj).
Best regards
SirAnn
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy