[cmake-developers] lua bindings?

Brad King brad.king at kitware.com
Mon Aug 6 11:31:34 EDT 2012


On 08/03/2012 08:51 PM, Doug wrote:
> helper.set_automake_path("lib/tools/openssl-1.0.1c")
> helper.automake(app)
[snip]
On 08/03/2012 08:51 PM, Doug wrote:
> I've found lately that I am using increasingly complex scripts to
> convert existing automake projects (notably freeglut, openssl 1.0.1
> and freetype) to cmake.
> 
> These projects dont support cmake directly, and dont really have any
> intention of doing so, and the only way to cleanly support them in a
> way that doesnt break from release to release (or at least has minimal
> impact) is to load and process the automake files.
> 
> I realize this is terrible, but practically speaking it works relatively well.

If your goal is to include third-party autotools builds under
your CMake projects, consider using the ExternalProject module:

 http://www.cmake.org/cmake/help/v2.8.8/cmake.html#module:ExternalProject
 http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html

-Brad



More information about the cmake-developers mailing list