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

Webpack Library Output

How does Webpack know which files to include in library build? How does it know which files should not or should be included, as in miscellaneous files like images, examples, documentation, etc. If it automatically includes them how do we make…
guyforlowbro
  • 341
  • 2
  • 3
  • 15
0
votes
0 answers

How do I set up automatic project creation with node/grunt?

I have just started using node/grunt and loving it, though I was wondering if there was a way to when creating and setting a project, to import a template of folder and files. I use to just copy and paste from a template zip I have that contains,…
sparcut
  • 795
  • 1
  • 10
  • 27
0
votes
1 answer

ST3 - Build System Supporting packages in java

This is my case: I have a Project Folder in Documents named "JavaProgs2" It has many .java files, 1 Directory for classpaths called "Classes" & 2 Packages (Directories) "myPack1" and "myPack2" which has files "Parent.java" and "Child.java"…
RuMAN S
  • 123
  • 7
0
votes
0 answers

How to achieve build isolation and caching simultaneously?

I am experimenting with tools like Docker and nix to see if there is a modern solution to build environment dependency hell. Docker has no knowledge or ability to cache packages downloaded within the (usually linux) environment inside the…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
0
votes
3 answers

Handling two repos like two branches in Git

repository A (already existing) examples\ repository B (already existing) code\ test\ Trying to do the following - repo A should be a part of repo B. That its, repo B should look like - repository B code\ test\ examples\ We would like to…
anushjay
  • 95
  • 2
  • 8
0
votes
2 answers

Build System for Python3 with Sublime3

I've searched hard, but not found exactly what I need. I want to run python3 programs in a terminal from sublime3 using CTRL+B and for the terminal to remain open after the code has run. { "cmd": ["start", "cmd", "/k", "usr/bin/python3",…
Robin Andrews
  • 3,514
  • 11
  • 43
  • 111
0
votes
1 answer

How to work with an arbitrary set of source files in Make?

I have a makefile that looks like this: SRCS := $(wildcard *.cpp) OBJS := $(patsubst %.cpp, %.o, $(SRCS)) TARGET := foo default : $(TARGET) %.o : %.cpp %.h $(CXX) $(CXXFLAGS) $< -o $@ $(TARGET) : $(OBJS) …
manasij7479
  • 1,665
  • 1
  • 14
  • 22
0
votes
1 answer

TFS Build 2015 - Using Globally Referred Files in Every Build

So, we are in this process of migrating XAML Builds to vNext (2015) Builds on TFS, and we are trying to "do things as clean as possible", since we had many, many customizations on the XAML builds that could be avoided and actually gave us problems…
Iceman
  • 463
  • 5
  • 14
0
votes
1 answer

Automated build and previously applied patches

How can I prevent aborted builds when a previously applied patch is detected without: simply ignoring all failed patches requiring user input Patch itself is capable of identifying a previously applied patch. There's got to be a way to avoid the…
Isabell Cowan
  • 113
  • 2
  • 9
0
votes
1 answer

Verilog Build System for Sublime Text 3

I am trying to implement a simple build system for Verilog in Sublime Text, but I am getting the following error when I build: [Errno 2] No such file or directory: 'iverilog' [cmd: ['iverilog', '-o', 'iverilog/compiled',…
rp.beltran
  • 2,764
  • 3
  • 21
  • 29
0
votes
1 answer

How to add a dependency for a target

How to add a shared library (let it be libXYZ.so) as a dependency for a LOCAL_MODULE target, when libXYZ.so does not link to the target directly. How to make sure build system first builds the dependency(libXYZ.so) and then execute commands for…
kanna
  • 1,412
  • 1
  • 15
  • 33
0
votes
0 answers

How to catch up full gcc compile command

For example during use make or b2 you can't see command, because build system invokes gcc implicitly. I want to know full command, which build system send to compiler. conceptually. I want to catch up it independently on build system. Maybe on…
0
votes
1 answer

Importing GeneratedSource in Gradle

I'm generating some source files via ANTLR. I want to use those files while writing my own source code. When I use the generateGrammarSource task the code is perfectly generated but goes to the build\generated-src directory. When I import classes…
matteeyah
  • 855
  • 11
  • 24
0
votes
1 answer

Conditional build of static library which more then one executable depends on in qmake

I have subdir project : //exaple.pro TEMPLATE = subdirs SUBDIRS += \ myLib \ executable_one \ executable_two myLib is static library with one function in it: //MyLib.h void foo(); //MyLib.cpp #include "MyLib.h" #include void foo() { #…
VALOD9
  • 566
  • 2
  • 6
  • 22
0
votes
1 answer

Dependencies between projects with Haskell Stack build tool -- best workflow?

I am just beginning a relatively large Haskell project using the stack package manager and build tool, and I am trying to figure out the best way to split it up into several stack projects with dependencies between them. Essentially, while I believe…