New version forces rebuild all?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New version forces rebuild all?

Andy
I have cmake project, I usuall call "cmake ." followed by make.
Now I have installed cmake 3.12.3 (was impossible install by apt-get)
I have following problem:
If I change one *.cpp file, in most cases make rebuilds all *.cpp files, not related to this file. Sometimes is ok.

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|

Re: New version forces rebuild all?

Eric Noulard


Le mar. 4 déc. 2018 à 11:44, Andy <[hidden email]> a écrit :
Problem are still.
Alone make also give me problems.

Do you have stripped down project example?
 
Ninja is replacement od cmake or make?

ninja (https://ninja-build.org/) is make replacement for which there is a CMake generator.
 
How work with ninja?

1) install ninja (on debian the package is called ninja-build)
2) cmake -G Ninja 
3) ninja

this would rule out generator specific issue.
--
Eric

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake