default_cmake

Auke Kok auke at foo-projects.org
Mon Mar 23 20:21:09 CET 2009


Dennis Veatch wrote:
> I take it you refer to the change in the run_build function. You are right, 
> only if there is a CMakeLists.txt file. That seemed the simplest way to 
> determine which default build to run. ATM, I don't see another way to 
> determine how to detect when either default build should be run. I am trying 
> to keep this on a kiss level, so If you have something clever in mind please 
> point me in that direction.
> 
> Unless you are referring to the default_cmake_build function, where it runs 
> the default_cmake function. Maybe that really should be called 
> default_cmake_config, since it is doing a similar thing the default_config 
> does.
> 

just change the order around: attempt to do a default_build first, and 
if that fails (configure/Makefile are missing) scan for CMake junk...

Auke


More information about the Lunar-dev mailing list