Questions tagged [build-system]

Build systems are software tools designed to automate the process of program compilation.

Build systems are software tools designed to automate the process of program compilation. Build systems come in various forms, and are used for a variety of software build tasks. Their primary goal is to efficiently create executables and libraries.

At their core, build systems are functional based languages mapping a set of source resources (in most cases, files) to a target (executable). The primary assumption of the build system is that each of the build actions are idempotent. That is, each invocation of a build command with the same input and options will create the same output. This assumption allows the build system to memorize the actions that is has already performed, and only perform build actions on resources that have changed.

409 questions
0
votes
1 answer

TFS 2013 Build Output to both Server and Custom Drop Location

In TFS2013 I'm having the following dilemma, a build has always been dropped to a custom folder defined in the Build Definition. Suddenly, it is now needed to have it available online, so the "Copy build output to server" is the logic…
Iceman
  • 463
  • 5
  • 14
0
votes
1 answer

Gulp Inject / WireDep for Microsoft Word?

OK, so this is a bit out there, but a little as 5 years ago a minified js file was an oddity. Today it is common and expected. So when you look at how we compile js files into one large one, in the correct order, wiring up dependencies and all of…
0
votes
0 answers

Creating rpm postinstall script with different behavior for OBS, GBS and target installation

I need to create rpm package, that when installed into OBS environment, GBS environment, and on target device will execute different postinstall scripts. I'm looking for code in spec file like this: %post if ### check for OBS env ### then…
0
votes
1 answer

Checking whether a SCons File Node is a Target Node of a Builder

In SCons, is it possible the check whether a File node, queried as File(path) is a target of a builder? I want to use this in my Ada source code scanner to check whether a path refers to a node that has been, previously in the SConstruct/SConscript…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

In CMake, how to find a specific version of a library?

For example, I currently have both versions 2 and 3 of the GLFW library installed on my Linux computer, named "libglfw.so.2" and "libglfw.so.3". Is it possible to tell CMake to find a specific version of GLFW (say, version 3), and it would be smart…
Yaron Cohen-Tal
  • 2,005
  • 1
  • 15
  • 26
0
votes
1 answer

How do I reserve a build number using artifactory?

I am trying to find a way to assure that the build number for the same components are unique and it seems that the only place that is really appropriate to get next build number it would be the artifact repository (Artifactory in my case). In case…
sorin
  • 161,544
  • 178
  • 535
  • 806
0
votes
1 answer

Dependency Scanning of Generated Source Code in SCons

I have the following requirement for a build graph x.c depends on x.h which depends on y.h, and x.h is generated from x.xml with a separate builder in our SCons project as we want to start using generation of source code previously placed in the…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

Sublime Text build system on Ubuntu: Cannot chain pkill command regardless of success

I'm trying to first kill a running process pkill -f "java.*MySketch" then run it again processing-java --sketch="~/MySketch" --output="~/MySketch/build-tmp" --run --force However on first build the process isn't running so pkill finds nothing. I…
SouPress
  • 295
  • 1
  • 2
  • 12
0
votes
1 answer

How to support a different language/compiler in an msbuild project?

In an msbuild project, how can I tell msbuild how to invoke a compiler for a language that msbuild doesn't natively support? (For example, with make/makefiles and most other buildsystems, it's possible to say "For all sources with .xyz extension,…
Abscissa
  • 72
  • 6
0
votes
2 answers

Custom build system for QML in Sublime Text 3

I have created a build system for QML in sublime, so selecting that build system and doing a ctrl+B builds the qml code for me. But every time I switch between different type files (eg. a .py file and .qml file) I have to change the build system…
Sнаđошƒаӽ
  • 16,753
  • 12
  • 73
  • 90
0
votes
3 answers

How can I distribute/install 3rd-party libraries with CMake?

I'm building and distributing an executable which relies on several 3rd-party libraries, most of which are built outside of CMake's buildsystem (though, if it helps, I can add and build them as custom targets in my CMake file). Here's how I include…
autonomy
  • 1,165
  • 1
  • 12
  • 18
0
votes
1 answer

Build Haml automatic in sublime 3 doesn't work

I'm trying to let Sublime build haml files automatic on save. I've installed SublimeOnSaveBuild, added haml extension: { "filename_filter": "\\.(css|js|sass|less|scss|haml)$", "build_on_save": 1 } and created haml.sublime-build in…
user1820686
  • 2,008
  • 5
  • 25
  • 44
0
votes
1 answer

build system performance impact of gcc linking to unused libraries

I have a code-base similar to the following: sources: src/a/b/c.cpp and unit-tests (these are actually boost unit-test executables): test/a/b/c_test.cpp The src tree is used in a single executable target. However c.cpp only uses a sub-set of…
0
votes
1 answer

Group Attribute of SCons Generated Files

Can I control the permission with which SCons creates its hardlinks in the CacheDir? I create the CacheDir using the correct permissions (a specific group) but the files which scons generates inside of it get incorrect (same as my username) group id…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
2 answers

How can I correctly read in multiple files inside a Gulp task?

I have a Gulp task that renders a file containing a Lodash template and puts it in my build directory. I use gulp-template to do the rendering. To render correctly, my template needs to be passed a list of files from my build directory. I get this…
Ankur Sethi
  • 3,508
  • 5
  • 23
  • 17