build-process

cmath Errors when using FLTK

For some reason, whenever I add the FLTK directory to my include path, I get a bunch of errors from cmath. I am using GCC version 4.2. Here is a sample program and the build output: main.cpp #include <cmath> int main() { return 0; } **** Build of configuration Debug for project CMath Test **** make -k all Building file: .....

How to run a command at compile with in Makefile generated by CMake ?

I would like to pass some options to a compiler. The option would have to be calculated at compile time - everytime when 'make' is invoked, not when 'cmake', so execute_process command does not cut it. (does it?) For instance passing a date to a g++ compiler like that: g++ prog.cpp -o prog -DDATETIME="17:09:2009,14:25" But with DATET...

Bin deploy rake (and IronRuby)

I'm on a .NET project, and I would like to migrate build script from MsBuild to Rake. I don't want to force developers (or build agent machines) to have to install anything, I want it to be self contained. If possible I'd prefer to use IronRuby. Is it possible to just drop everything in /tools/rake and /tools/IronRuby and have it just w...

If an errormessage displays a linenumber, does this mean the assembly is build in debug mode?

I have a web that I build with WebDeploymentProject. I thought I had build it in release mode, but now an errrormessage displays a linenumber. I have deployed a pdb file to the server. Can an assembly build in release mode display linenumbers if the pdb is present? Is there any way to tell if an assembly is build in debug mode or releas...

Android ant script workaround?

It appears that, in the transition between the Android 1.1 sdk and 1.5, Google radically changed how ant scripts using AAPT can build Android projects. Previously they support args allowing developers to specify source, res, asset, and a manifest for a particular build. Now, they seem to allow developers to specify only a single folder ...

iPhone app compile error with static libraries on distribution build

Hi, I am currently trying to build the distribution product of my (first) iphone app so that it can be uploaded to the App Store. I have gone through all of the App ID and Distribution Provisioning profile process and finally got the Organizer and target's build configuration to recognize it. The problem is that when setting the "Activ...

WX_CONFIG_OPTIONS: command not found

I'm trying to build Aegisub on linux mint, I'm getting the following error during ./autoget.sh /home/hasenj/code/aegisub/aegisub/configure: line 25685: WX_CONFIG_OPTIONS: command not found /home/hasenj/code/aegisub/aegisub/configure: line 25686: syntax error near unexpected token `debug' /home/hasenj/code/aegisub/aegisub/configure: line...

Large Java System Dependency Management

We have a large (>500,000 LOC) Java system that depends on 40-50 OSS packages. The system is built with Ant, and dependency management is handled manually at present. I'm investigating Ivy and/or Maven to automate dependencies. We looked at Maven as a build automation system last year and rejected it because it would require totally r...

minimal build dependency tree

Hello, I'm currently using an IDE which builds c++ projects for several platforms (win32, windows mobile, symbian etc). This IDE doesn't keep a build dependency list and simply rebuilds the entire project every time. This wastes a lot of our time, which made us consider implementing a smarter build process: cpp files will be recompiled o...

Monitoring code metrics in a multi-language product

We've got a product that's made up of C++ and Java parts. The C++ stuff is build using make and the java projects are made up of some ant projects and some maven2 projects. I'm looking for a tool that will help me get useful metrics out of the build system over time. examples include * Total build time * C++ project build time * Java...

How do I manage generated classes in a Visual Studio solution?

I have written a code generator using CodeDom and it generates a number of classes from stored procedures. I'd like to add its execution as a build step and then add all of its classes to the solution programatically at build-time. How do I do this? ...

Deploying ASP.NET Web Applications from Hudson Build/CI Server

We have multiple Hudson continuous integration environments set up with automated builds and tests, however we don't do any kind of automated deployments to test environments. I was wondering how other teams are deploying their ASP.NET web applications. Our builds package up the artifacts of a build with some scripts to stop/start IIS ...

Ant: How to execute a command for each file in directory?

Hello! I want to execute a command from an Ant buildfile, for each file in a directory. I am looking for a platform-independent solution. How do I do this? Sure, I could write a script in some scripting language, but this would add further dependencies to the project. ...

ANT How to delete ONLY empty directories recursively

Does anyone know how to recursively delete "empty" directories with ANT (empty includes directories that only contain ".svn" etc). I know ant allows you to "includeEmptyDirs=true" but I want it to ONLY delete a directory if it is empty (and actually I'd probably need to walk up the recursive chain and delete the directory it was contain...

Streamline .NET projects with Msbuild

Sorry for being somewhat vague but so is the project I'm leading now. I inherited a large body of various in-house tools and am trying to put unified build system around each one.Some of the projects we have (few dozen) are .NET-based web-projects C# mostly, some of these are web-services and some webapps. The apps were build over past 6...

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the build gets caught in a loop. Can anyone s...

Overriding build rules in make

I'm using a Makefile to build an embedded project. I've inherited the project from numerous previous developers who haven't been using Make to its full potential, and I'd like to be able to specify the project version in the makefile using defines on the build command. However, there's already a build rule that builds all the object (....

How to learn about building tools in linux ?

Hi SO Friends, I am writing code in embedded linux since last couple of years, I use make utility to build my code and I am not at all an advance user of it. But now, It is necessary to have better compilation, cross-compilation knowledge, so that I can easily port my code to newer processors. So I want to learn that which different to...

C# could not load file or assembly...system cannot find file specified

Writing a routine WinForms app that references a few custom libraries written by myself. I am building one particular library which depends on another library and, when I do, I get the following warning message: "Could not load file or assembly 'RHLib' Version 1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. T...

Build automation, VMWare server 2.0, Final builder

I have a database in a VMWare Server 2.0 Virtual machine. I also have a web application in the IIS (7) in the VM. Now I want to execute some database scripts that are in the VM, from the Host machine. Also I have a VB script in the VM that I want to run from the Host machine. How do I go about setting this up. I can buy Final builder i...