[Cmake] include external msproject

William A. Hoffman billlist at nycap.rr.com
Mon Sep 13 14:43:27 EDT 2004


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