[Numpy-discussion] preferred numpy build system

Brian Granger ellisonbg.net@gmail....
Mon Feb 9 16:35:09 CST 2009


> CMake does handle this automatically.
> E.g. if include directories are changed (which you do by editing a
> CMakeLists.txt or the cmake cache), all files which are affected by the are
> rebuilt. If some library changes, everything linking to this library is
> linked again.
> If any of the files the build depends on (e.g. a CMakeLists.txt, or an
> included .cmake file, or the cmake cache) is changed, cmake is automatically
> rerun, and the makefiles/project files are regenerated.
>
> I don't know what happens if you are using both C and Fortran in one project
> and change one of them. I think this is actually not possible, you can (or
> should) not change the compiler of an existing build tree. Basically
> everything which uses this compiler is invalid then, the object files, the
> results of tests etc. I'm not sure handling this separately for different
> languages within one project is supported by cmake.

Is all of this handled just by calling make (after the initial cmake
call), or do you have to first recall cmake and then make?

Brian

> Alex
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list