[Cmake] Trouble with : Include External MsProject
John Biddiscombe
john . biddiscombe at mirada-solutions . com
Tue, 15 Jul 2003 13:18:06 +0100
Hi all,
I'm using=20
INCLUDE_EXTERNAL_MSPROJECT( "${PROJECTNAME}.vcproj" =
"${Mirada_SOURCE_DIR}/${PROJECTNAME}")
inside a macro and it bombs out with an access violation. Looking at the =
code I see that the command for include external msproject creates a =
utility command which in turn sets=20
GetPostBuildCommands() to a vector of stuff.
in the vc71 (dot net 2003 generator) the code does=20
cmCustomCommand cc =3D l->second.GetPreLinkCommands()[0];
which looks bad and is causing the trouble. I changed this to=20
cmCustomCommand cc =3D l->second.GetPostBuildCommands()[0];
and the AV went away, but instead I get=20
"CMake error : WriteExternal project not supported for visual studio 7"
my question is : Am I doing something wrong or is it just not yet =
implemented for dot net 2003?
thanks
JB
PS. Used cvs version from a few weeks ago initially, but when it crashed =
I did a cvs update yesterday and it still crashes.