[Cmake] include external msproject

William A. Hoffman billlist at nycap.rr.com
Mon Sep 13 15:03:39 EDT 2004


It may be none of them do.   The command was added by someone for VS 6, and there
are not test cases for it.  In the last version, I tried to "fix" it for VS 7, but
it seems like it still has a few problems.  It used to just crash cmake, so it is better
than it was. 

-Bill


At 02:49 PM 9/13/2004, Clinton Stimpson wrote:
>2.0.3.
>
>Anybody know what version of cmake this actually works in for generating 7.1 solution files?
>
>Clint
>
>William A. Hoffman wrote:
>
>>That command is a bit buggy, what version of cmake are you using?
>>
>>At 02:17 PM 9/13/2004, Clinton Stimpson wrote:
>>
>> 
>>
>>>How is INCLUDE_EXTERNAL_MSPROJECT supposed to work?
>>>
>>>The docs say you can add two or more dependents, but that doesn't work for me.  I can only add one as cmake will give me an error if I try to give it more than one.  "CMake Error:  Utility targets can only have one output.  ..."
>>>
>>>Also if I have something similar to this...
>>>
>>>PROJECT(MYLIB)
>>>....
>>>
>>>ADD_LIBRARY(mylib ....)
>>>
>>>
>>>IF(WIN32)
>>>
>>>INCLUDE_EXTERNAL_MSPROJECT(depproj path/to/project/depproj)
>>>ADD_DEPENDENCIES(mylib depproj)
>>>
>>>ENDIF(WIN32)
>>>
>>>
>>>Just the existence of INCLUDE_EXTERNAL_MSPROJECT prevents MYLIB from showing up in the solution.  I only have the depproj showing up in my solution.  This is not a problem for generating vc 6.0 workspaces/project files.
>>>
>>>I'm not seeing INCLUDE_EXTERNAL_MSPROJECT working for me at all while generating VC 7.1 projects/solutions.
>>>
>>>Clint
>>>
>>>
>>>_______________________________________________
>>>Cmake mailing list
>>>Cmake at www.cmake.org
>>>http://www.cmake.org/mailman/listinfo/cmake
>>>   
>>
>> 
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the Cmake mailing list