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
0
votes
1 answer
How do I export a target, then use it in another project via ExternalProject?
I have a CMake project named proj1, which I want to use as an external project in another project, proj2. Now, the (relevant) command in proj1's CMakeLists.txt is:
install(
TARGETS proj1
ARCHIVE
DESTINATION lib
EXPORT proj1_library
…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
0 answers
How can I make a FindMyPackage.cmake module fall back to downloading?
I have a simple CMake find module I've written, for a library of mine used by other projects. It's pretty simplistic, with its full text available here. Mainly there's one find_path() and one find_library(), and then some variables are set.
Now, I…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Specify Project References Based On Build Configuration in Xamarin-Visual Studio (VSTS + App Center)
As you can see in the above picture, I am trying to create a Xamarin Forms Application. The application is basically a retail utility app which will be targeted for the region US & Japan.
In the given Project structure SuppplyApp.Main is the…

StezPet
- 2,430
- 2
- 27
- 49
0
votes
1 answer
TeamCity: Update parent build configuration and see reflected in child project
I have a parent build template used by 22 projects.
I have added some new build steps into the parent template and I would like these to be available now in all the child projects without having to add them in manually.
Is there a way I can do this?…

Heather Roberts
- 1,978
- 1
- 24
- 33
0
votes
0 answers
How can I make the b2 builder to default to -jN?
I want to do boost builds in parallel by default, e.g. instead of ./b2 -j4 I want to just invoke ./b2 and have it use -j4, or -jN for some other relevant N, itself.
Can I do this? I was thinking maybe I could put in tools/build/src/user-config.jam…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Apps cannot detect C++ poco even though I have installed it
I want to be able to make and run this particular library on my computer. Currently going through the INSTALL file. I am currently at the point:
After extracting the Poco (Complete Edition) source archive, the configure
script should be called with…

SDG
- 2,260
- 8
- 35
- 77
0
votes
1 answer
my jenkins have to build a .net service, but has a dependency library file in other repository, so how to use library when jenkins build
I use gitlab and jenkins.
Here is my structure:
branch: master
Inside the app_folder I have the following files:
app_folder
solution_folder
core_library
other services
3rd party…

abhi badd
- 1
- 1
0
votes
1 answer
Stop alloy build from a build config task (alloy.jmk)
Let's say I have the following task modifying my Alloy compile process (alloy.jmk build configuration file)
task("pre:compile", function (e, log) {
// execute something that may throw an error
try {
// ...
}
catch(err) {
…

simne7
- 194
- 1
- 1
- 12
0
votes
3 answers
Visual studio project dependency to other project doesn't copy exe
I have a C# solution (visual studio 2017) with two projects lets say A and B, both compiled to exe. Project A depends on project B's exe, I though a dependency to project B would solve this. However, the exe doesn't get copied automatically when…

dennis_ler
- 659
- 1
- 9
- 36
0
votes
2 answers
VS2008: Multiple build configs with defines don't work as expected
I have a base library to maintain in multiple versions. I do a SVN switch whenever I need to work on another version.
I don't have multiple versions of my test application solution, so I thought that for different versions I could do multiple…

Sebastian P.R. Gingter
- 5,955
- 3
- 31
- 73
0
votes
1 answer
Compile Errors when build configuration changed to production - C# MVC
Have taken over the management of a system written in C# MVC. It's a pretty big project so working my way through it bit by bit to learn what everything does. I've just made my first set of changes to it, and am ready to deploy. To do this I changed…

109221793
- 16,477
- 38
- 108
- 160
0
votes
1 answer
Cross platform solution for copying files after compilation
In a .NET Core project, I want to copy some dll's after the project has compiled. I have successfully done that with a simple xcopy operation setup in the scripts -> postcompile section of the project.json file.
I want this copy-operation to be…

Henrik Nielsen
- 410
- 2
- 6
0
votes
1 answer
Build a project with relative path to dll
I have created a c# project in it I reference system.windows.interactivity.dll.
What I'm wondering is how to set the project up so that when I build the *.exe I get this sort of structure:
Program Folder
program.exe
Libraries Folder
…

Hank
- 2,456
- 3
- 35
- 83
0
votes
1 answer
Checking for build configuration in code behind
I have three different build configurations defined for my projects: Debug, RELEASE and PRODUCTION (Difference being in the fact whether we want to encrypt the db and create logs or we wan to do both or just one of these. Basically combinations of…

tavier
- 1,744
- 4
- 24
- 53
0
votes
0 answers
Is it possible to make two different build configurations to use same auto-incrementing build number?
Our new version is in pre-release phase and I'm setting up a new build configuration for it. The problem is that for next month we need to do our daily builds for same product with two different configs. These configs have different…

saastn
- 5,717
- 8
- 47
- 78