[CMake] FindPythonLibs.cmake

Alexander Neundorf a.neundorf-work at gmx.net
Tue Feb 12 13:42:56 EST 2008


On Tuesday 12 February 2008, clinton at elemtech.com wrote:
> Anyone know why FindPythonLibs.cmake in CVS adds a custom target?
> In Visual Studio, it shows up as a project (__FindPythonLibsHelper) and it
> appears to do nothing.

Yes, it is a helper target which helps with building python modules, 
especially in the static case.
Maybe it could be replaced with a global property.
The idea is to do something exactly when the file is included the first time, 
independent from the directory where it is used, so variables don't work.

Alex


More information about the CMake mailing list