build-process

iPhone Project Dependency Management

强颜欢笑 提交于 2019-12-04 08:40:40
问题 Has anyone had any success in finding a reliable, generalised solution for managing dependencies for iPhone projects? I'm looking to split my iPhone applications up into reusable components and then pull them into projects that require them. I guess I'm looking for a Maven-esque workflow but for Xcode/iPhone projects. I've tried a number of things so far such as: I've created a Maven plugin for iPhone applications which automates the building and signing of the applications but I constantly

When to use a build tool?

有些话、适合烂在心里 提交于 2019-12-04 08:38:08
问题 A beginner question, bear with me: I'm just wondering under what circumstances one should use a build tool like nant or msbuild? I'm working on a medium sized application (.net 3.0), every developer is doing his work and builds on his machine checking his code changes into the repository as he goes. Once we're all done, I'll get all the code from the repository, make a clean build on my machine and we deploy the binaries. Just out of curiosity, where comes the build tool in? 回答1: The short

How do I convert an Autotools project to a CMake project? [closed]

大兔子大兔子 提交于 2019-12-04 07:26:00
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . So there seems to be a lot of writing on the subject of Autotools vs. CMake, but for the life of me I can't seem to find a good tutorial on how to convert a project from Autotools ( Makefile.am and configure.ac files) to CMake ( CMakeLists.txt files). How does one go about doing this? 回答1: There is no automated

Change constant values when building a release edition

ⅰ亾dé卋堺 提交于 2019-12-04 07:10:01
I'm developing in eclipse using ADT for android. In my application I have some constants which help me to to debug my app easily. As an example I have: public static final boolean DEBUG_TOAST_LOGS = true; which help me to toast some logs on the screen. Each time I intend to build a release, I have to go through my constants and set their values to what is appropriate for the release edition, which is somehow painful. Now what I want is a way to build my app, using two configurations: one for debug mode and the other for release mode . The release mode should set my constants to the appropriate

CMake variable or property to discern betwen debug and release builds

本秂侑毒 提交于 2019-12-04 05:40:26
I want to set a CMake variable differently for debug and release builds. I have tried to use CMAKE_CFG_INTDIR like this: IF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTesterd_dll) ELSE(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTester_dll) ENDIF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") But this variable evaluates to $(OUTDIR) at the time CMake does its thing. Is there a CMake variable I can use to discern between debug and release builds, or something along the lines of how TARGET_LINK_LIBRARIES where one can specify debug and optimized libraries? EDIT: I

Ant for other ant's

社会主义新天地 提交于 2019-12-04 05:19:22
问题 I have several projects, most of them has " test " target, which run tests and store results in property ' test.faulire '. All projects located in same directory: big_project / someproject1 big_project / someproject1 / build.xml big_project / someproject2 big_project / someproject2 / build.xml So, in root of 'big_project' i want to create one build.xml for: Running test on all projects If all test ok, run " deploy " task on each project. It'll be very well if I could pass some deployment

Build system for an embedded C/C++ project

筅森魡賤 提交于 2019-12-04 05:14:42
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 - Prevent cyclic dependencies between components and modules (cyclic dependencies inside modules is

Create MSBuild custom task to modify C# code *before* compile

笑着哭i 提交于 2019-12-04 04:53:37
I want to create a custom MSBuild task that changes my .cs files before they are compiled by csc.exe (but, of course, that doesn't modify them in place - I don't want actual source files touched). I am aware of PostSharp and other AOP frameworks for .NET and they are not an option for this particular project, plus I'd like to learn how to do this. What precisely do I have to do to get this to work? Thanks Richard Given your restrictions I think you can do the following: Create custom task that accepts the list of cs files to adapt prior to compilation The custom task adapts the list of files

How can we display a “step” inside Visual Studio build process?

雨燕双飞 提交于 2019-12-04 04:32:46
When you are monitoring the TFS build from Visual Studio (2008 or 2005), you can see where it is up to. The issue is that I have some Post-Build custom steps I would like the developer to be able to see directly throught the UI. Those steps take some times and we can also get a "timing" of the build step. Any idea how to have it displayed? This is the pattern that I normally use for adding steps to the build report in TFS 2008. (See http://code.msdn.microsoft.com/buildwallboard/ for the full example that I usually use in my Team Build talks) Basically, the magic is that there is a custom task

Building Flex projects in ant/nant

霸气de小男生 提交于 2019-12-04 04:22:12
We have a recurring problem at my company with build breaks in our Flex projects. The problem primarily occurs because the build that the developers do on their local machines is fundamentally different from the build that occurs on the build machine. The devs are building the projects using FlexBuilder/eclipse and the build machine is using the command line compilers. Inevitably, the {projectname}-config.xml and/or the batch file that runs the build get out of sync with the project files used by eclipse, so the the build succeeds on the dev's machine, but fails on the build machine. We