build-process

Build system for an embedded C/C++ project

橙三吉。 提交于 2019-12-09 10:18:16
问题 I am looking for a high-level build system/tool that can help organise my embedded C project into "modules" and "components". Note that these two terms are highly subjective so my definitions are given below. A module is a cohesive collection of c and h files but with only one public h file that is visible to other modules. A component (or a layer) on the other hand is a collection of modules (e.g. Application layer, Library layer, Driver layer, RTOS layer etc.). The build system/tool should

Is the maven-native-plugin widely used to build C++ projects using maven?

空扰寡人 提交于 2019-12-09 10:08:51
问题 It's been a little while since I did C++ development professionally and I'd like to get caught up on what the current state of C++ development is in a number of areas. Most of my recent work has been Java, making heavy use of Maven. When I last did C++ development for work, some variant of make was widely accepted as the way to go for building C++ projects (we were also using make to do builds the Java code in our mixed Java and C++ projects, although I believe ant was starting to become

How to get rid of maven snapshot versions

狂风中的少年 提交于 2019-12-09 07:33:14
问题 I have been using maven for a while now. But I've never learnt how to get rid of the snapshot version. Please share some articles on how to do a release of the artifacts. i.e. how do I publish my 0.0.1-SNAPSHOT versions to (say) 1.0.0 回答1: Use the mvn:release plugin. mvn release:prepare mvn release:perform That's about all you need to do, in the general case. See here for the more complete documentation. 来源: https://stackoverflow.com/questions/758921/how-to-get-rid-of-maven-snapshot-versions

Timeout on a Build Step of Jenkins

ぃ、小莉子 提交于 2019-12-09 07:28:34
问题 In Jenkins, is there a way to give different timeouts to each or selected build step? Build-time plugin out gives functionality of timeout "Abort the build if it's stuck" on complete project, what I need is to give different timeouts for each step. This way I can make my process more efficient. 回答1: As of current versions of Jenkins, this can be done. Hit 'Configure', then select the 'Build Environment' tab, and then set your timeout. Here's an screenshot: 回答2: In pipeline jobs you can wrap

What is a 'make target'?

点点圈 提交于 2019-12-09 05:06:12
问题 Why do I need to make a make target before being able to build my source code? More specifically, what is make target exactly? 回答1: Makefiles look like this: all: mybinary mybinary: files.o it.o depends.o on.o [tab]$(CC) $(CFLAGS) files.o it.o depends.o on.o -o mybinary files.o: files.c files.h [tab]$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ ... This means, when you type make all (the shorthand is just to type make ), it will make sure that the mybinary target or file is up to date. To do that,

Visual Studio 2010 Publish Web feature not including all DLLs

空扰寡人 提交于 2019-12-09 04:05:49
问题 I have an ASP.NET MVC 2 application. Web project contains a reference to SomeProject SomeProject contains references to ExternalAssembly1 and ExternalAssembly2. SomeProject explicitly calls into ExternalAssembly1, but NOT ExternalAssembly2. ExternalAssembly1 calls into ExternalAssembly2 When I perform a local build everything is cool. All DLLs are included in the bin\debug folder. The problem is that when I use the Publish Web command in Visual Studio 2010, it deploys everything except

Xcode - build phase or script for copying only modified files to App Bundle

橙三吉。 提交于 2019-12-09 00:42:34
Mac OS X 10.5 compatibility required. Xcode 3.2.5. My app looks in the bundle's Resources folder, for a "data" folder. "data" contains a hierarchy of subfolders and data. The contents are constantly being modified. I don't need to navigate or modify this data within Xcode. Q. When building, how can I copy "data" (say, from the Xcode project's folder) to the Resources folder, but only copying those files within "data" that have been modified since the last build? (Simply copying all files every time I build is not feasible; the file sizes are too large, slowing build times.) Thanks for any help

In Visual Studio, what does the “Clean” command do?

最后都变了- 提交于 2019-12-08 22:46:00
问题 You know, the one that outputs this=> ------ Clean started: Project: Foo.Bar, Configuration: Debug Any CPU ------ ========== Clean: 1 succeeded, 0 failed, 0 skipped ========== What it is cleaning? 回答1: The output directories - it removes the code that it's previously built. It doesn't remove the bin/obj directories themselves (or the Debug/Release directories beneath them), just the actual .exe, .dll, etc files. Unfortunately this makes it less useful for my usual use of cleaning up output

Changing package names before building in Bamboo

邮差的信 提交于 2019-12-08 19:44:08
问题 I recently discovered that BlackBerry treats all classes with the same fully-qualified name as identical--regardless of whether they are in entirely different apps or not--causing apps that use different versions of our shared libraries to break when they are installed on the same phone. To solve this problem, we are planning on changing the package names to include a version number, then building. Can someone explain how, using Bamboo, I can insert a step in our build process that: changes

Post-process jar after assembly but before installation (to get idempotent builds)

独自空忆成欢 提交于 2019-12-08 15:04:50
问题 We use Jenkins which use md5 fingerprinting to identify artifacts and whether the artifact has changed since the last build. Unfortunately Maven builds always generate binary different artifacts. Therefore I am looking into making Maven generate the same jar artifact for the same set of input files regardless of where and when they were built, which amongst other things mean that the entries in the jar file must be sorted - not only in the index, but in the order they are written to the jar