Hi folks,

Is there a way to speed up the dependency scan in version 2.6?

I recently installed a new Linux OS (Mandriva 2009) which included an upgrade to cmake 2.6 (I _think_ I had version 2.4 before). However, when I run make (after running "cmake .") it takes a long time (>1min) to do the dependency scan. (i.e. the time when the message "Scanning dependencies of target foo" is printed) whereas the rest of the build takes about 10 seconds. This happens every time I run make but it does successfully build (and the "cmake ." step is fast).

The odd thing is that it was almost instantaneous (with essentially the same code) under version 2.4 and is almost instantaneous on a (faster) mac (again, with the same code).

Is there any way to speed this up without using the "make foo/fast" option every time?

Thank you very much for your consideration,
Mark Pearson

(a few more details that might be relevant follow)...
My project is quite simple but makes use of the STL, gnu scientific library (gsl) and boost. Specifically, it includes the following:
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdio.h>
#include <math.h>
#include <vector>
#include <string>
#include <unistd.h>

#include <gsl/gsl_statistics_double.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>

#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/program_options.hpp>

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to