[GRADLE-3242] visual studio SDK's include path is getting added multiple times to option.txt Created: 13/Feb/15 Updated: 15/Jul/15 Resolved: 15/Jul/15
|Reporter:||Sterling Greene||Assignee:||Sterling Greene|
I have a module to be compiled with visual studio plugin.
07:08:10.192 [QUIET] [system.out] UIGridItem.cpp
07:10:20.853 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':Console:compileX86ReleaseConsoleExecutableConsoleCpp'
When I googled for the error code found out that it is
and typically occurs when command line arguments length is beyond certain threshold (I guess 8k).
When I looked for options.txt in this folder found out that
"/IC:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include"
these two lines are added 191 times to the compiler options. Probably number of files compiled till now.
Is there any way we can stop this redundant appending and force gradle to append only once?