你如何防止Netbeans 8.0重建每个文件?

时间:2014-08-16 13:07:47

标签: c++ windows netbeans makefile

对于我使用netbeans的所有c ++项目,每当我进行一次小的更改时,整个项目都会重建。必须有办法防止这种情况。

我的构建日志最终看起来像这样:

mkdir -p build/Debug/CLang-Windows/_ext/237546996
rm -f "build/Debug/CLang-Windows/_ext/237546996/Sensor.o.d"
clang++ -g -std=gnu++11   -c -g -DSFML_STATIC -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libsndfile/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libfreetype/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/jpeg -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/AL -I../SFML/src -I../SFML/include -MMD -MP -MF "build/Debug/CLang-Windows/_ext/237546996/Sensor.o.d" -o build/Debug/CLang-Windows/_ext/237546996/Sensor.o ../SFML/src/SFML/Window/Sensor.cpp
mkdir -p build/Debug/CLang-Windows/_ext/237546996
rm -f "build/Debug/CLang-Windows/_ext/237546996/SensorManager.o.d"
clang++ -g -std=gnu++11   -c -g -DSFML_STATIC -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libsndfile/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libfreetype/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/jpeg -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/AL -I../SFML/src -I../SFML/include -MMD -MP -MF "build/Debug/CLang-Windows/_ext/237546996/SensorManager.o.d" -o build/Debug/CLang-Windows/_ext/237546996/SensorManager.o ../SFML/src/SFML/Window/SensorManager.cpp
mkdir -p build/Debug/CLang-Windows/_ext/237546996
rm -f "build/Debug/CLang-Windows/_ext/237546996/Touch.o.d"
clang++ -g -std=gnu++11   -c -g -DSFML_STATIC -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libsndfile/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/libfreetype/windows -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/jpeg -I/C/Users/izack_000/Documents/Programming/Projects/SynapseCpp/SFML/extlibs/headers/AL -I../SFML/src -I../SFML/include -MMD -MP -MF "build/Debug/CLang-Windows/_ext/237546996/Touch.o.d" -o build/Debug/CLang-Windows/_ext/237546996/Touch.o ../SFML/src/SFML/Window/Touch.cpp

在生成新文件之前,您可以看到正在删除目标文件。是否有设置或我是否必须更改netbeans生成的makefile?

或者也许有些东西我不小心打开了? (总是很干净?)虽然我不认为这可能是因为它发生在我的两个项目中。

编辑:这似乎只发生在Windows上

0 个答案:

没有答案