[Cmake] include external msproject

Clinton Stimpson clinton at elemtech.com
Mon Sep 13 14:54:09 EDT 2004


Also, if I have 10 or so project files I'm trying to include, it only 
gets 2 of them (the last two).
Again, that isn't a problem when generating a VC 6.0 workspace file, but 
it is for generating a 7.1 solution file.

Clint

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



More information about the Cmake mailing list