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
1
vote
1 answer

How to run multiple build configurations at once in IntelliJ IDEA

I have a project that has a "standard user" and "manager" build configurations. (The code is mostly same but some aspects of the build are different.) When I'm about to test the application, I need to start both configurations, user and manager.…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
1
vote
1 answer

TeamCity doesn't send a notification if a build triggered against any branch but default

I am subscribed to different types of notifications, such as Build Starts and Build Fails events. My build configuration has a single VCS attached and a VCS trigger that kicks off a build on each commit to any branch. The problem is that when the…
Alex Maslov
  • 413
  • 4
  • 9
1
vote
1 answer

Visual studio publish profiles and its configurations

I'm trying to get a better understanding of visual studios build configurations. I'm currently building out a webAPI. I am also using team city for some automated build tasks and so I use a different profile for that instead of the debug profile…
Adam
  • 388
  • 1
  • 10
1
vote
0 answers

Visual Studio DLL References - Using Relative Paths And $(ConfigurationName) To Select The Corresponding DLL?

I have 2 separate Visual Studio C# solutions. One solution contains projects that generate DLL files (class library projects) and the other solution contains projects that depend on the DLL files from the other solution. I have two questions about…
Jan Tacci
  • 3,131
  • 16
  • 63
  • 83
1
vote
2 answers

How to create dynamic defines for Visual Studio?

I have a C++ project that builds on several platforms. On Mac OSX and Linux, I use SConstruct, which allows me to have some "smartness" regarding the different compilation steps. Namely, I could put the program version in a file named VERSION at the…
ereOn
  • 53,676
  • 39
  • 161
  • 238
1
vote
1 answer

Effective to use const struct in C instead of defines for grouping configuration parameters?

I am thinking of using a global constant struct to manage configuration of some sub-systems. This means that I would like to use something like: const struct SystemConfig { .channels = 5, .mode = NORMAL_MODE, } SYSTEM_CONFIG; And later use it…
Niklas Norin
  • 355
  • 1
  • 3
  • 9
1
vote
1 answer

Visual Studio 6 and Teamcity - how to set up a build configuration?

I have to set up a build configuration (Teamcity 7.1) for some old Visual Studio 6 C projects. I am not common with C/C++ programs and their environment and have absolutely no idea how to configure the build steps for this kind of projects. I…
DanielaK
  • 11
  • 1
1
vote
3 answers

I lost my R file.?I don't know what happened.?

I was working on my android project. After completing some coding, I imported remaining classes by pressing ctrl+shift+o. Than I cleaned my project. After cleaning the project I lost my BuildConfig.java file. How can i get it back? I think that…
Bhavin Panara
  • 428
  • 4
  • 11
1
vote
1 answer

Grails plugin dependency issue, WAR file missing plugin artifacts

Developing a Grails 1.3.7 web app; it depends on a plugin which depends on another plugin, the diagram below illustrates the dependency configuration. The problem is the WAR file; I'm using the standard grails war command, but the classes for…
raffian
  • 31,267
  • 26
  • 103
  • 174
0
votes
1 answer

VS2010 build analysis

I am working with a VS2010 solution we have inherited. It has approx 300 projects. Medium term I will try to break this down into multiple solutions, but I can't do that immediately. One immediate problem is that if I do 2 consecutive builds, the…
0
votes
1 answer

What should I link against: The actual CUDA driver library or the driver library stub?

A CUDA distribution, at least on Linux, has a "stub libraries" directory, which contains among others a libcuda.so file - named the same as an actual NVIDIA driver library. When build a CUDA program which makes driver API calls, on a system with…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Use another version of C++ in Premake

I can't change my C++ version with from the Premake file (i'm using the MSVC toolchain) This is the lua file i'm running: workspace "myname" configurations{"Release", "Debug"} platforms {"Win64", "Win32"} project "myname" kind…
0
votes
1 answer

In CMake, can I mark a library as static after add_library'ing it?

In CMake, we can write: add_library(mylib mylib.c) for a dynamically-linked (shared) library, and add_library(mylib STATIC mylib.c) for a static one. But - can we start with the first syntax, then later mark the mylib target as static?
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Is the output location of CMake's add_custom_command different on Windows and Linux?

I'm using add_custom_command() in CMakeLists.txt in a project of mine. I seem to have worked it out nicely for building on Linux, but for when I try and build on Windows, something strange happens. Here's a snippet from a subdirectory's…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
2 answers

Sharing projects with VS and TFS

I'm running into a lot of problems sharing projects between solutions with VS 2010 and TFS 2010. First issue is that everyone sets up their machine different, and create workspaces differently. Some use a single workspace for all projects. Some…
Erik Funkenbusch
  • 92,674
  • 28
  • 195
  • 291