build

Does CMake has something like % substitution support from Make?

I need a chain of file processing in my build-process. Workflow can be easily specified and built around a filename, only extension changes, like file.a -> file.b -> file.c. So, it's clearly a case for Make's declarative syntax. But as I see, for CMake this will look like an explicit *add_custom_command* for each file for each step of pr...

how to collaborate source code across multiple locations

We have a VMWare image running a gforge instance in our local network. We would like some external folks to be part of the dev process. We would like to keep this repository as the master SVN repository. What kind of options are available for sharing the code with the external resources and merging it back into our local repository. Ot...

Test driven development of an MSBuild Task

What approach would you take while developing a custom MSBuild Task in a test driven way? Are there any available test harnesses suitable for test drive development of a Microsoft.Build.Utilities.ToolTask extension? I was considering attempting to use NUnit or MSUnit and check files generated and where they are placed, though this I ...

Visual Studio build error: claims member of class in other assembly doesn't exist

Hi all I have a website solution which contains a project with domain classes. I have added a public auto property (get; set;) to one of the domain classes. A page on the website references this property - it was added to the page using IntelliSense. The website project builds okay. But when I build the solution, I get the old 'Class ...

CCNet - retrieving built files

I've set up a number of build machines, but I always manually edited the XSL files in the web dashboard so that the build report includes a link to the created output package (typically a ZIP file). Is there a better way (for example a plug-in) to include a link? How do you get at the finished product that CCNet exists for? ...

Can't build a qt project using qtservice

I'm trying to use QtService from QtSolution in a Qt project. I've unzipped it and run: configure.bat -library qmake mingw32-make the debug and release dll were placed inside C:\Qt\2010.03\qt\bin\ Examples were correctly built . I added this line at the bottom of my .pro file: include(../QtSolutions/qtservice/src/qtservice.pri) and I ...

Problem in building gcc 4.5 : error in tools.zip

I tryied to build gcc 4.5.0 on Linux version 2.6.18-164.6.1.el5, and found the following problems that I couldn't find an answer on Google. I used the following command. ../gcc-4.3.5/configure --prefix=/usr --prefix=/apps --with-gmp=/apps --with-mpc=/apps --with-mpfr=/apps --enable-shared --enable-threads=posix make -j 8 Here is the pa...

tfs 2008 build webapplication project and non aspx files

I have setup build defination to automate a build on web application project. I also have cfm files as part of web application project. Build is successfull but all the cfm files are ignored and are missing from the drop location. does the tfs build ignores non .net files. Advise ...

During visual studio build, will the dll referenced from a different folder get copied to the applications bin folder

During visual studio build, will the dll referenced from a different folder get copied to the applications bin folder ...

Visual Studio: How to override the default "Build Action" for certain extension types per project or solution?

I'm serving my asp.net mvc views from many assemblies and copying views to the main application on post-build event. This works, however, I realized, that when I change something in view and just hit F5, changes are not included. What I have to do to see changes is to: save, build<- explicitly clicking, and then hit F5. However, it's pr...

How to delete dlldata.c during clean build in Visual Studio?

I will be creating a series of projects set up to build COM objects. I attempting to create a property sheet (.vsprops file) which will set up the builds for each project. One of the things I am doing with the properties file is customizing the location and names of the files created by the MIDL compiler. Here's the code I use for thi...

System.Web.MVC.dll still references Beta version

I'm running a build of my solution from a different computer (build machine), and found out that that system is still referencing the Beta version of System.Web.MVC.dll. How can I get it to reference the 1.0 version of the dll? ...

How to link library to compile/install a Perl module manually?

I want to compile/install a Perl module that depends on a library that is not in Strawberry Perl 5.12. I used Strawberry on a Windows box to install the module (Net-SSH2). The installation failed because it requires the library (libssh2). My issue is similar to this guy's http://www.perlmonks.org/bare/?node_id=814455. But I cannot use th...

NetBeans Post Build Script

I'm using NetBeans 6.8, and I want to run a script to construct an SQLite database with a predefined schema after each build. I don't see any options under Build Configuration. Is this feature not yet supported? ...

How can I upgrade the sqlite3 package in Python 2.6?

I was using Python 2.6.5 to build my application, which came with sqlite3 3.5.9. Apparently though, as I found out in another question of mine, foreign key support wasn't introduced in sqlite3 until version 3.6.19. However, Python 2.7 comes with sqlite3 3.6.21, so this work -- I decided I wanted to use foreign keys in my application, so ...

Random afconvert errors in custom build rule of XCode

Hi I have an iPhone project which heavily uses sound samples and Open AL. Sound samples in it's original form are aifs. For Open AL I need cafs. So to keep things simple I've decided to move conversion procedure into custom build rule of XCode project. There is a brilliant article right about this task http://www.henryflurry.com/news/fil...

Extend the Visual Studio C++ Build Process

A found an article (Extend the Visual Studio Build Process) that explained how to override build targets in a C# project file. I tested this, and it seems to work well. However, what I really want to do is override a build target in a C++ project (with Visual Studio 2005). The problem is that C++ projects use different XML. Instead o...

How can I use different .h files for several targets?

I have a project with several targets. For most of my classes, I can use a single .h file and change the details in the .m file (adding a different .m file for each target). For one of my UIViewController subclasses, I need to declare different UILabel IBOutlets for the different targets (each target shows a different set of labels depe...

Registration free COM: VB6 Executable referencing VB6 DLL

So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs a...

Why does 'clean' magically fix mysterious bugs in my app?

If I ever have a problem that is not showing up as a warning, but makes my app crash on runtime, sometimes I'll build->clean and often it this unkown bug disappears. This happens mostly when I import new images into the project(replacing old ones) or when I make major syntax changes with my code. F'in 'Clean all Targets', how does it wo...