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
5
votes
1 answer
What's the difference between Build Configurations and Targets?
We have five practically identical apps, with a few different icons/names/settings. They are different "brands" of the same app, only differentiated in a few different icons, separate AppGroups, and a few default settings in code. These are created…

Sti
- 8,275
- 9
- 62
- 124
5
votes
2 answers
Have a CMake project default to the Release build type
How should I make my CMake project default to configuration for a Release rather than a Debug build?

einpoklum
- 118,144
- 57
- 340
- 684
5
votes
1 answer
How do I get the system's path separator with CMake
I'm configuring some project with CMake. I need to get the path separator (e.g. / or \) into a CMake variable to do something with in, never mind what exactly. How can I do that?

einpoklum
- 118,144
- 57
- 340
- 684
5
votes
1 answer
Xcode Build Configurations in Workspace With Multiple Projects
Using Xcode 7.2 (7C68), OS X 10.11.2 (15C50)
tl;dr With multiple projects in same Xcode workspace, why do my user-defined build settings for a build configuration seem to not work? I set them correctly in the scheme, but when run on simulator the…

Stefan Arambasich
- 2,231
- 2
- 19
- 24
5
votes
2 answers
Getting "pax archive volume change required" prompt during build configuration
I am trying to build fastjet-3.0.1 on my Ubuntu 14.04 LTS.
On running the following:
./configure --enable-allcxxplugins
I get the following message:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is…

Man
- 151
- 7
5
votes
1 answer
Add default build configuration to Visual Studio
My team and I are using VS2012 for a number of projects, and have developed a workflow with our QA and UAT group that involves 5 environments: Local, Development Staging, Testing, Preproduction, and Production. We've found ourselves having to create…

greven
- 492
- 1
- 6
- 15
4
votes
1 answer
CLion says: "Cannot generate into /the/project/dir, it is already used for unknown project"
I've been using CLion with a certain repository of mine for a while now. Suddenly (or maybe not suddenly, but I can't figure out the cause), I get this error message in the CMake console:
Cannot generate into /path/to/the/project/dir
It is already…

einpoklum
- 118,144
- 57
- 340
- 684
4
votes
1 answer
In VS2022, how do I specify a conditional compilation symbol for a build configuration?
In VS2017, I had several different build configurations that built an application in different ways. One configuration would produce the default application. Another build configuration would produce the application with more features, etc.
This…

Robert Deml
- 12,390
- 20
- 65
- 92
4
votes
2 answers
Why should foo-config.cmake and foo-config-version.cmake be separate?
In talks by Daniel Pfeiffer (Effective CMake) and by Deniz Bahadir (More Modern CMake), and even in the CMake documentation, it is suggested that (at least) to .cmake files be generated for using a repository with CMake in other projects:…

einpoklum
- 118,144
- 57
- 340
- 684
4
votes
0 answers
Xcode: sharing source files between projects within a workspace
The case:
There is a main project which uses CocoaPods.
I have started a
supplementary project which source code meant to be re-used in the main
project.
The supplementary project has been added as a git submolude to the repository of the main…

nalexn
- 10,615
- 6
- 44
- 48
4
votes
0 answers
Use different nuGet packages.config based on build configuration
Lets say we want two configurations.
Configuration A 'BuildForCustomerA' is a solution with a reference to MySharedLibrary v1.1.
Configuration B is a solution with a reference to MySharedLibrary v1.3.
Is there a way to have Configuration A point to…

lanierhall
- 530
- 1
- 5
- 15
4
votes
1 answer
How can I enable App Sandboxing for specific build configuration
I'm developing a Mac app, and preparing submit it to Mac AppStore.
I want distribute it on my website too, at the same time.
Since I use Sparkle framework to manage updates for the version outside AppStore, the app can NOT be sandboxed.
I know I…

naituw
- 1,087
- 10
- 14
4
votes
0 answers
How do I deploy different files for running Integration Tests on different architectures?
We have multiple test projects that access databases directly. Those tests basically validate our sql queries written in C# code. Unfortunately, they are not separated at the moment and are in the same assemblies that also house true, non-dependent…

julealgon
- 7,072
- 3
- 32
- 77
3
votes
0 answers
Makefile-based Eclipse CDT with run/debug launch configuration depend on release/debug build configuration
I have a Makefile that based on given target (all/debug) generates executable in release/debug directories on the project folder.
I have setup the Eclipse-CDT C/C++ build behavior mechanism to generate the right output depending on the active build…

dashesy
- 2,596
- 3
- 45
- 61
3
votes
2 answers
Using specific Visual Studio Project Build configuration for running unit tests
My company already has a Team Foundation Server as a Continuous Integration platform. However, what I am looking to setup is a build configuration that a developer can run on their own development machine.
Let's say I have a Visual Studio solution…

millie
- 2,642
- 10
- 39
- 58