[Cmake] include external msproject

Clinton Stimpson clinton at elemtech.com
Mon Sep 13 14:49:18 EDT 2004


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