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
0
votes
1 answer

How disable dynatrace for debug builds android

I want to disable dynatrace to collect debug builds In my build.gradle (android): dynatrace { configurations { debug { enabled false } release { enabled true autoStart { …
0
votes
1 answer

How to pass argument from command line to bazel file

I have a variable declared in .bzl file example: VERSION_NUMBER = "00". I want to override this variable from command line when i build different version of the project. example: bazel build target --sunbversion_number= "99" I want to change this…
Ayoub Mbarek
  • 3
  • 1
  • 4
0
votes
1 answer

What is the meson equivalent of CMAKE_INSTALL_PREFIX?

I'm using to building code with CMake; but I'm now faced with using meson to build a certain repository. With CMake and make, if I use something like: cmake -DCMAKE_INSTALL_PREFIX=/some/where` build_dir make -C build_dir make -C build_dir…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
0 answers

Xamarin.Forms.ios/Visual Studio build config bug?

I am working on a Xamarin.Forms project and I need to create multiple build configs for iOS and android and depending on the build config swap out all pictures in the project but that is not the problem. The problem is I cant create new build…
Ayoub
  • 1
  • 1
0
votes
1 answer

Azure DevOps - Enable .pdb file generation via VSBuild@1

I have a pubxml that is used in the VSBuild@1 task and the build works fine except I dont get my .pdb files. How can I make sure the .pdb files are also included in my release? Project release Config
0
votes
0 answers

C#: syntax error at token '-' in:IL_0029: ldc.r8-inf when building from source

I am trying to contribute to an open source project open source project. I've never worked with C# before, so I am not sure exactly how to write this out, but, here is what I've done so far. I downloaded Visual Studio and some workloads, then forked…
trevor-pope
  • 106
  • 6
0
votes
1 answer

How to use build-specific files or resources in Visual Studio for C# projects?

Is there a way in Visual Studio to define some files or resources to be used only in specific build configurations? We use many #if DEBUG clauses to add debug-only code, but the same can't be done in a .config xml file, for example. Is there a way…
DMX David Cardinal
  • 599
  • 2
  • 7
  • 19
0
votes
1 answer

Qt Creator (not CMake) how to specify different files for different build configurations?

I have project in QT Creator (as .pro file, not as CMake). Now I want to add tests (gtest) as another build configuration, so I've added build configuration "debug_tests" (Projects -> Add -> Debug with name debug_tests). Now I want to add specific…
baziorek
  • 2,502
  • 2
  • 29
  • 43
0
votes
1 answer

find_dependency(Threads) or include(FindThreads) in a package config file

In CMake, we can use find_dependency() in an package -config.cmake file to "forwards the correct parameters for QUIET and REQUIRED which were passed to the original find_package() call." So, naturally we'll want to do that instead of calling…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
2 answers

Why does VS force my build to x64?

Before I build, I choose x86 (or Any CPU, too) in the Properties tab for the project. I save these properties, and if I re-open the Properties tab it's back to x64 as the platform and target, why?
bevacqua
  • 47,502
  • 56
  • 171
  • 285
0
votes
2 answers

How should I do when different user-set CMake configuration options clash?

Suppose I have two cached CMake strings for the user to set, but some of the value combinations clash. Example: set(FOO OFF CACHE BOOL "Foo") set(BAR OFF CACHE BOOL "Bar") but you can't have both Foo and Bar. Obviously, we can prevent this with: if…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Provide multiple build configurations to MSBuild through arguments and have them build in parallel

I'm trying to setup a MSBuild .proj file that can have multiple build configurations passed in as arguments and then have the configs built in parallel. This is an example of what I want to do: msbuild MultiConfigBuild.proj /m:8 /ds…
0
votes
1 answer

Core Data Entities multiple build configurations

I have 3 build configurations, Debug, Release and Development. For Development I have created a new Scheme with a new bundleID, Product name etc so I can see which one is DEV and DEBUG on my phone. I am using Core Data and for the DEBUG with the…
kalafun
  • 3,512
  • 6
  • 35
  • 49
0
votes
1 answer

how to set supported interface orientations in user-defined settings?

I need to use User-defined settings to set the supported interface orientations for iPhone, depending on my build configuration. In User-defined settings I have: In my info.plist I set: But it doesn't work. The iPhone is launched in Portrait…
cmii
  • 3,556
  • 8
  • 38
  • 69
0
votes
1 answer

Can I push and pop CMake target properties?

I want to define a few targets which have certain properties (say, dependencies and link libraries), and then go on to define other targets without those properties. add_executable(foo src/foo1.cpp) add_dependencies(foo…
einpoklum
  • 118,144
  • 57
  • 340
  • 684