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 can I check in CMake whether my system is POSIX-conformant?
I want to try and build a source file only if I'm on a POSIX system (let's ignore cross-building for the sake of this question). I know how to check that I'm on a UNIX system; I know how to check for the presence of header files; but - how do I…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
OpenShift BuildConfiguration Error setting up cluster CA cert
I have an OpenShift Cluster running where I am trying to build a simple nodejs Dockerimage using the Docker BuildConfiguration strategy. Unfortunately, it fails when starting the first init-container (git-clone), as it expects a ca.crt
Error setting…

Victor Van Doom
- 73
- 6
0
votes
0 answers
Creating a configuration that will run all unit test on JVM and then start the Android app
I want to add the initialization of all my unit (and eventually integration) tests before each build. I have a Unit Tests configuration build and the default app configuration build, but I could find anything that combines both of them. The closest…

Alon Shlider
- 1,187
- 1
- 16
- 46
0
votes
1 answer
Teamcity Finish Build Trigger is not Firing
I have two builds configured such that one is supposed to trigger another on a successful run.
I have created a Build Config A, and a build config B that has a Finish Build Trigger linked to build A. Both A and B are very simple test builds having…

Shreyash Chaudhari
- 11
- 3
0
votes
1 answer
Xcode - Load a specific config file based on the build configuration
I am trying to use a specific file based on the Xcode build configuration (Debug / Release).
The script is running, but it always uses the else condition even though I am using the "dev.debug" OR "dev.release" build configuration...
The project's…

hugger
- 426
- 4
- 19
0
votes
1 answer
Enable pod for exact build configuration
I am looking for the ability to install and use pod for only one exact build configuration in my project.
I assume that something needs to be done in Podfile.
Is there any way to do it?

zhanch
- 145
- 1
- 8
0
votes
1 answer
CMake doesn't recognize NVTX after CUDA network install on Win10
Have a look at this GitHub actions run result on a machine running Windows 10:
nvcc_11.7 visual_studio_integration_11.7 curand_dev_11.7 nvrtc_dev_11.7 nvtx_11.7 cudart_11.7 visual_studio_integration_11.7 nsight_nvtx_11.7
Downloading CUDA Network…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
`Executed 0 tests, with 0 failures (0 unexpected)` when running individual test cases in Xcode
When I run tests in Xcode, as long as I run all the tests collectively they execute normally. However, if I run only one individual test class or one individual test function within a test class, it doesn't execute any tests at all and…

wristbands
- 1,021
- 11
- 22
0
votes
0 answers
Can I use CMake to be able to install multiple versions of a library to the same installation directory?
Suppose I maintain a library called mylib, whose build is configured using CMake. Installing mylib involves copying header files, a static library file, and some .cmake package configuration files. Right now, the filenames for v1 and v2 are mostly…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Can I set a default "Active Solution Platform" in Visual Studio?
The Question
In Visual Studio, in the "Configuration Manager" under the Build tab, there is an option called the "Active Solution Platform." This causes problems with one of my commonly used libraries. Is there a way to set this to default to x64?…

user589321
- 99
- 6
0
votes
1 answer
How can I override the C++ compiler CMake uses for CUDA?
I'm using a CUDA version which does not support the GCC version installed on my system (my GCC is too new). I'm trying to build a repository which uses CMake for build configuration.
I know how to override the C++ compiler, traditionally:
export…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Obtain the list of dependency files for a target depending on files?
I have a custom CMake target which looks like this:
add_custom_target(foo ALL DEPENDS subdir/f1 anotherdir/f2 f3)
Now, I want to write a loop such as the following:
foreach(some_file MAGIC_GOES_HERE)
# Do stuff with…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Build Configuration and Start Arguments
Will the value entered in "command line arguments" under start options be actually passed on as command line arguments to the executable in the release configuration or is it only a debug thing.
The question is, will it be part of the executable…

InquisitiveLad
- 309
- 3
- 16
0
votes
1 answer
How can I build a fatbin file using CMake?
I want to build a fatbin file from my .cu source file, using CMake.
I've tried this:
add_library(dummy_lib OBJECT my_src.cu)
set_property(TARGET dummy_lib PROPERTY CUDA_PTX_COMPILATION ON)
add_custom_command(
TARGET dummy_lib POST_BUILD
COMMAND…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
1 answer
Xcode: weird build failure when duplicating a build configuration
I duplicated an existing build configuration in my Xcode project called Direct and named it Setapp.
I didn't modify anything regarding the new build config Setapp, however, when I build using the Setapp build config, I am getting an error.
It says…

Eric
- 1,858
- 2
- 16
- 17