Questions tagged [incremental-build]

When dealing with large project, incremental build takes care to build only what has been modified and its impacts.

When dealing with large project, incremental build takes care to build only what has been modified and its impacts.

It helps reducing the amount of time needed to build a project.

169 questions
24
votes
3 answers

Address of function is not actual code address

Debugging some code in Visual Studio 2008 (C++), I noticed that the address in my function pointer variable is not the actual address of the function itself. This is an extern "C" function. int main() { void (*printaddr)(const char *) = &print;…
codenheim
  • 20,467
  • 1
  • 59
  • 80
15
votes
3 answers

File Tracker Log file format

In Visual Studio 2010 incremental builds are done using the File Tracker (Microsoft.Build.Utilities.FileTracker). It seems that it is responsible to the creation of these *.1.tlog files on the intermediate directory. I couldn't find any reference to…
Amir Gonnen
  • 3,525
  • 4
  • 32
  • 61
14
votes
1 answer

Making sense of Scala development tools

There is a myriad of development tools and terms in the ecosystem, for example, language server, build server, Metals, BSP, LSP, Bloop, Zinc, Coursier, incremental compiler, presentation compiler, etc. I was wondering if someone could demonstrate…
14
votes
0 answers

xcodebuild not doing incremental builds

I recently checked out a fresh version of our iOS app from git and built from command line via xcodebuild. I then built a second time using the exact same command, while making no changes to files in the repo whatsoever (not even opening them). I…
Jason
  • 13,563
  • 15
  • 74
  • 125
14
votes
1 answer

Android NDK incremental build

I'm currently working on a large Android app using a massive amount of C++ code. It compiles and runs, so far so good. Unfortunately, every time I modify something in the structure of my native source (add/delete/rename/move a file), which happens…
Alex
  • 153
  • 1
  • 4
14
votes
3 answers

Visual Studio 2012 - MSBuild incremental build not detecting changes

I have customised an MSBuild project so that the default target is a new target named similarly to 'BuildWithExternalReference'. This new target calls two other targets; the first is a custom target called something like 'BuildExternalReference'…
Ian Newson
  • 7,679
  • 2
  • 47
  • 80
12
votes
2 answers

How does gulp-typescript incremental compilation work?

gulp-typescript's README says it supports incremental compilation but doesn't explain what is meant by that term in this context. There's an issue discussing how gulp-typescript incremental compilation is slower than tsc, but it doesn't explain why,…
Max Heiber
  • 14,346
  • 12
  • 59
  • 97
12
votes
1 answer

Gradle inputs and outputs

I'm learning Gradle and trying to understand how input and output files determine whether a task is up to date. This task is never up to date, even when the build file doesn't change. task printFoo() { inputs.file(getBuildFile()) …
jaco0646
  • 15,303
  • 7
  • 59
  • 83
11
votes
2 answers

Gradle build cache is not enabled for task

I have enabled gradle build cache for my project. But, we are using some non-built in tasks like npm-install from third party plugins. Gradle is not enabling cache for these tasks. For example it shows something like below when such task is executed…
dharanikesav
  • 737
  • 2
  • 7
  • 9
10
votes
2 answers

How to stop incremental build of Visual Studio permanently?

I know about the property /incremental but it need to changed every time NO if I want to stop incremental build. Is there any way to stop it for all the projects permanently.
pcbabu
  • 2,219
  • 4
  • 22
  • 32
9
votes
2 answers

Maven incremental building

We currently have a big Maven 2 project that is rather a collection of many single standalone projects with complicated dependencies, with the exception of some common parent POMs for building. In the end we always have to ship the application as…
anselm
  • 842
  • 2
  • 9
  • 22
8
votes
2 answers

How to run MSBuild Target BEFORE compilation but only when compilation will happen

I have a C# library project that hase some dependencies that a created in "BeforeBuild" with PowerShell. MSBuild seems to execute target "BeforeBuild" each time, also if the library project itself does not need to build. I'd like to configure the…
7
votes
1 answer

What is the meaning of incremental in tsconfig.json?

As exploring tsconfig.json file i stuck on what is exact meaning of incremental in tsconfig.json
7
votes
1 answer

In Visual Studio, how to make the incremental build just as fast the debug-session-triggered build?

I have a Visual Studio 2010 solution with 40-ish projects in it (C# + one C++/CLI). I have Visual studio configured such that it builds the whole solution before starting debugging. Now suppose I change the code for a 'leaf' project on which no…
user180326
7
votes
2 answers

How to avoid that Visual Studio incremental build does not run when files outside and are changed?

I have a VS2017 csharp project and the .csproj file looks like the following: Exe netcoreapp2.0
1
2 3
11 12