Questions tagged [buildconfiguration]

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.)

191 questions
2
votes
0 answers

xcodebuild (version 4.6.3) -configuration argument does not override the buildConfiguration attribute in .xcscheme

This may have been the case in earlier versions of Xcode, but I am not sure. I noticed that archiving using a command line (like a script via jenkins would do) DOES NOT allow me to override the configuration using the xcodebuild argument…
2
votes
0 answers

What good options exist for effectively managing Eclipse/CDT build configurations?

We are aiming to leverage software reuse in embedded ARM/Linux platforms. Some of our hardware platforms are designed for customers' specific needs. Of course the application would be customized in various ways too. While it is not an Android…
2
votes
1 answer

XCode app store build - new target or configuration?

I have an app with 3 targets. Or schemes. Each target have two configs, dubug and release. I am building it in command line using build script. For ad hoc release I use the configuration 'release'. But what about when make an appstore build. Whats…
karim
  • 15,408
  • 7
  • 58
  • 96
2
votes
1 answer

How do you build the "release" configuration in Monodevelop?

When creating a Monodevelop project, or when opening a typical Visual Studio project, there are 2 build configurations: "Debug" and "Release". The default is "Debug", and building from the Build menu only runs the Debug build. This should be a…
Mechanical snail
  • 29,755
  • 14
  • 88
  • 113
2
votes
2 answers

How to pass MonoDevelop build configuration to Makefile?

MonoDevelop supports Makefile integration. But how do I know current build configuration (Debug/Release) from inside of Makefile?
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
2
votes
2 answers

C++: __try...__except; hides crash in release mode?

I have a DX9 application that runs on an embedded Windows XP box. When leaving it automated overnight for soak testing it crashes after about six to eight hours. On our dev. machines (Win 7) we can't seem to reproduce this issue. I'm also fairly…
Game_Overture
  • 1,578
  • 3
  • 22
  • 34
1
vote
1 answer

MSB0001: Internal MSBuild Error: MSB0001: Internal MSBuild Error: Request 0 refers to configuration xx

When i want to build my solution in Visual studio I often (4 of the 5 build tries) get the error message: System.AggregateException: One or more errors occurred. ---> Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error:…
1
vote
0 answers

Setting a `--cfg` flag with custom target

I'd like to pass a custom --cfg flag to rustc via Cargo. Normally, I can do this by putting this in .cargo/config for a given crate: [build] rustflags = "--cfg procmacro2_semver_exempt" However, in one of my crates, I am using a custom compilation…
Cactus
  • 27,075
  • 9
  • 69
  • 149
1
vote
1 answer

How should I setup script-based source generation with CMake?

I'm managing the build of a certain C++ repository using CMake. In this repository, and among other things, I have a bunch of .hpp files in a directory, and for each of these, I need to compile a generated bit of source code, which depends on its…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

With CMake's find_package, why does version range 0.3.3...<0.5.0 not accept 0.4.6?

I want my repo to depend on a package with a certain allowed version range. So, looking at the documentation, I write: find_package(mypkg 0.3.3...<0.5.0 REQUIRED) but when I configure with CMake (v3.23.0-rc2), this line yields: CMake Error at…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
0 answers

Use Visual Studio Test Runner with custom build configuration

I'd like to use a custom build configuration (e.g. UnitTest) for running C# unit-tests within the Visual Studio test runner. From the command line, I can run dotnet test --configuration UnitTest, but this does not allow me to easily run individual…
pax
  • 11
  • 1
1
vote
1 answer

Generating Rust executable or library, depending on the target platform

I am targeting my Rust project for Windows and Linux. On Windows, the code needs to be linked to an executable, whereas on Linux - as a shared library. To link the project as a Linux shared library, I added the following section to…
1
vote
1 answer

Use Nuget with custom build configurations

I have a Visual Studio 2019 project with some nuget-packages. This project work very well with the build configuration Release and Debug. Now I have created my own custom build configurations. The problem is that now the project don’t link to some…
1
vote
2 answers

Why does chaining methods in a statement fail to give an expected result?

I can compute a const char* presentation of an std::filesystem::path variable like that: std::filesystem::path path1(L"ConsoleApplication1.cpp"); std::string strPath1 = path1.string(); const char* charArrPath1 = strPath1.c_str(); But if I omit…
1
vote
1 answer

Can I simplify this approach to installing and exporting a CMake-based project?

Note: Re-asking a poorly-written earlier question. How should a package/library developer, using CMake, allow for their package to be effectively installed on a system, as well as easily integrated/used in another CMake-based project? According to…
einpoklum
  • 118,144
  • 57
  • 340
  • 684