[Cmake] building thridparty gmake module

Andy Cedilnik andy.cedilnik at kitware.com
Wed Feb 19 10:15:54 EST 2003


Hi Klaas,

You can create a custom command which will run gmake. Be aware though
that this will not be platform independent. People will have to download
gmake etc.

			Andy

On Wed, 2003-02-19 at 04:40, k. holwerda wrote:
> I am trying to figure out how to run the build
> a thirdparty module which is used by my code.
> So when i build the source using makefiles or project
> made by cmake, this third party part is done also.
> 
> The thirdparty code is the Freetype library, and it already is
> platform independent by using gmake. Also it is complex enough to
> not generate CMakeLists.txt  inside it
> 
> Normally i extend the path and run gmake for that module like this:
> 
> path=c:\\mysourcetop\\pathtogmake\\bin;%path%
> set compiler=visualc
> gmake
> 
> The question is how can i make this part of the cmake system,
> so that this all happens automatically when i start building using cmake
> generated projects or makefiles?
> What is the magic command ;-) ??





More information about the CMake mailing list