[Cmake] building thridparty gmake module

k. holwerda klaas.holwerda at nl.thalesgroup.com
Wed Feb 19 04:40:52 EST 2003


Hi,

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 ;-) ??

Thanks in advance,

Klaas


Unclassified






More information about the CMake mailing list