The process, mechanism and results of configuring the build of a source-code project or hierarchy-of-files into its target artifacts (executable files, object libraries, generated documents etc.)
Questions tagged [buildconfiguration]
191 questions
3
votes
1 answer
How to have separate names for a target, its filename, and its export name?
I have some target - say it's a library - in a CMakeLists.txt file of a repository I'm working on. I want to the following three to be separate:
The target name I use in CMakeLists.txt; say it needs to be foo.
The exported target name, which others…

einpoklum
- 118,144
- 57
- 340
- 684
3
votes
1 answer
Visual Studio Installer Project Custom Action based on Build Configuration
Is it possible in an Installer Project to conditionally run a Custom Action based on the project build configuration (e.g. Debug, Release, etc.)?
Also to include/exclude files based on the Build Configuration?
Can I do any of these in Visual Studio…

Bedford
- 1,136
- 2
- 12
- 36
3
votes
1 answer
Automate Eclipse build configurations for referenced projects
I have 3 C projects (prj_1, prj_2 and prj_3) in my workspace. prj_3 is referenced by prj_2 and prj_2 is referenced by prj_1.
For each project I have 4 build configurations as x86_win_debug, x86_win_release, x86_linux_debug and x86_linux_release.
The…

sanchop22
- 2,729
- 12
- 43
- 66
3
votes
1 answer
How to define build configurations for different API base URLs in UWP Project VS2015?
I have started building a UWP application. In it, I am going to have different API deployments which changes the BaseURL like following:
//DEV Api
public const string BaseURL = "http://mydevapi.com/devApi";
//Test Api
public const string BaseURL =…

NSNoob
- 5,548
- 6
- 41
- 54
3
votes
0 answers
Load projects based on build configuration in Visual Studio
I've couple of different projects in my solution(around 70). A couple of dll projects, test projects, service projects and a web project. And I've multiple build configurations(test, debug etc). Not all projects are part of every build…

sree
- 2,287
- 28
- 26
3
votes
3 answers
Error "The OutputPath property is not set for project" VS 2015
I have multiple projects in visual studio 2015. I am running my project in "ANY CPU" in debug mode. when I am trying to Run my project, I get the following error:
The OutputPath property is not set for project '.csproj'. Please
check to make…

Jagadisha B S
- 673
- 4
- 11
- 26
3
votes
3 answers
eclipse cdt - how to set the active build configuration from the command line
In eclipse CDT from the command line I can create workspaces, import and build projects, etc. This works.
I'm trying to change the 'active configuration' of a project from (X) to (Y)
In the GUI, I can do this: Right click on the project name, go…

user3696153
- 568
- 5
- 15
3
votes
1 answer
Issues in moving build configuration in teamcity
I am working on Team-city 9.x. I have some build failures in one of the release project. although we have disabled the build and we do not want to run the build.
I am trying to move the build to another project (Disabled builds) but I cannot move…

revzzz
- 103
- 10
3
votes
1 answer
Using custom build configuration in visual studio
In my client application I sometimes connect to localhost:1242\SomeService.asmx and some other times it connects to someDomain:1242\SomeService.asmx. In other words there are times when I want to test locally and some other times remotely.
The…

Tono Nam
- 34,064
- 78
- 298
- 470
3
votes
3 answers
How to use different Application Settings for different build configurations?
At the top of the Apllication-Tab(red) of the project properties there are 2 grayed out dropdown boxes(green), which I would like to use.
I want to change the output type depending on the current build configuration. When I make a Debug-build I…

LostPhysx
- 3,573
- 8
- 43
- 73
3
votes
1 answer
VS2008 - Can't remove project configuration
I have a Windows Mobile/Pocket PC project in Visual Studio 2008 SP1. I have tried to remove an old build configuration "ReleaseCN3" from the solution using the Configuration Manager. I run the Configuration Manager, click on Edit, then highlight…

Trevor Balcom
- 3,766
- 2
- 32
- 51
3
votes
1 answer
Solution wide build configurations in Visual Studio?
I can chose build options like \MT or \MD in the project settings. But since I have a Visual Studio solution with multiple projects, I am looking for a way to define those options or add additional build configurations on a solution wide level. How…

danijar
- 32,406
- 45
- 166
- 297
3
votes
1 answer
TFS '$(BuildLocation)' macro points to wrong path on Lab Environment template
I'm having a very hard time finding any information about this. I've just created a Build-Deploy-Test build definition for one of our main projects but when the workflow runs, it reports a wrong value for the "$(BuildLocation)" macro, which breaks…

julealgon
- 7,072
- 3
- 32
- 77
3
votes
1 answer
Xcode, including a external reference folder in a build
I have a folder located on my hard drive that is basically a library of handy classes i've created (file are .h and .cpp). I want to keep them external so I can reference them consistently from multiple ongoing projects.
I use add existing files and…

hOOks7
- 71
- 1
- 8
3
votes
1 answer
What version of Delphi were build configurations implemented?
I'm working on a project which includes conditionals to control what to compile for different versions of Delphi. I am only familiar with versions 7, 2010, and XE2. At least in Delphi 2010, there's the ability to create multiple Build Configurations…

Jerry Dodge
- 26,858
- 31
- 155
- 327