Questions tagged [custom-build-step]
79 questions
5
votes
1 answer
Why does adding custom build step in Visual Studio Qt project with Qt add-in stop automatic MOC and UIC steps?
I have a Visual Studio Qt project using the Visual Studio Qt Add-in. The Add-in automatically creates a Custom Build Tool rule for .ui files and for each header file that has classes with the Q_OBJECT declaration to run the UIC and MOC…

Clifford
- 88,407
- 13
- 85
- 165
4
votes
2 answers
Convert .rules file to Visual Studio 2010 .targets file
I'm trying to se flex and bison in Visual Studio 2010. I found a .rules file on the web, but it is only useable in vs2k5/2k8. How do I convert it to the newer, '.targets' format?
Here's the file:
http://pastebin.com/Xxt6hGdb
Are there any tools for…

friedkiwi
- 2,158
- 8
- 29
- 52
4
votes
1 answer
Running doxygen as Custom Build Step in VS2008
I am generating doxygen documentation for my (fairly small) project on each build.
I did the following to accomplish this:
Added the index.html, which doxygen generates, to the project
Specified a Custom Build Step for this file (not the whole…

foraidt
- 5,519
- 5
- 52
- 80
4
votes
1 answer
Setting working directory for custom build steps in Visual Studio 2008
Is it possible to set the working directory for a "Custom Build Step" command in a Visual Studio 2008 C++ project?

Beetle
- 179
- 3
- 10
3
votes
2 answers
Custom Build Rules in Visual Studio, with multiple outputs
We have a C++ project that uses a custom object-relational-mapping system, in which tables are defined by .tbl files. These are then run through a code-generator that creates, for each, a .h and a .cpp file.
I'm trying to get a custom build rule…

Jeff Dege
- 11,190
- 22
- 96
- 165
3
votes
0 answers
Visual Studio 2010: Custom Build Rules for matching filenames
I have a custom build rule (.props, .targets, .xml files) in my VS2010 project that compiles all files with a certain file extension with a 3rd party tool.
However, I would like it to only be applied to files with certain filenames. The problem is…

James
- 51
- 4
3
votes
1 answer
How is the Change.MergeSources Field Populated in TFS?
We'd like to generate build notes with the following format:
1) Associated ChangeSets:
2) - ChangeSet 45241, by Joe: "Patching fix for foobar"
3) 'Foo.cs' integrated from dev v. 22 to qa v. 7
4) 'Bar.cs' integrated from dev v. 9 to qa v.…

Mark P Neyer
- 1,009
- 2
- 8
- 19
3
votes
2 answers
Should I auto-increment the assembly version when I build my software?
In Visual Studio 2003, you could easily set your project assembly to auto-increment every time you built it, but with Visual Studio 2005, this functionality was removed. You can still auto-increment your assembly version on every build, but it's a…

SqlRyan
- 33,116
- 33
- 114
- 199
3
votes
1 answer
VS2008: Add custom build rule to a Property Sheet (vsprops)?
I'm using the CUDA .rules file which comes with the CUDA SDK for custom build steps in my project.
To save on property duplication I'd like to define the properties of the CUDA rule in a .vsprops file. For some reason, the CUDA rule branch of the…

shoosh
- 76,898
- 55
- 205
- 325
3
votes
1 answer
Android NDK: custom pre-build step?
NDK 8b, Eclipse / Cygwin
I'm trying to add custom pre-build steps to Android.mk:
1) for every *.xyz file in the source tree, run a custom tool which generates corresponding .h and .cpp files
2) add the .cpp files to LOCAL_SRC_FILES
I've read this…

foo64
- 2,075
- 3
- 18
- 25
2
votes
0 answers
Problem debugging project built with scons in qtcreator 2.2
I'm currently working on a project using SCons as build system. Since the project is written for gcc and I'm developing on Windows I'm compiling with mingw and develop in QTCreator. Therefore I have set it up as a generic project. Until recently I…

Grizzly
- 19,595
- 4
- 60
- 78
2
votes
0 answers
Visual Studio 2008 Custom Build step output in setup project
I have the problem, that I want to include a outputfile from a custom build step in a setup project. Since the "add project output" option only adds the exe from the solution and not the custom output my first approach was to add it as a file. In…

Grey
- 149
- 1
- 4
2
votes
1 answer
VS2013 C++ Custom Build Tool not working
My apologies for the lengthy text, but I've been having some trouble using the Custom Build Tool feature in VS2013 for C++ projects. I want to take a project's "resource.h" file and generate an output file which, for these purposes, we'll call…

Steve
- 175
- 1
- 13
2
votes
1 answer
TFS 2015 keeps removing custom build steps
For some reason, my on-premise TFS 2015 (update3) keeps removing the custom made build steps from build definitions when clicked on Edit Build Definition.
I Then need to click 'undo' to restore the removed custom build step.
Does anyone know why TFS…

Jack B
- 391
- 1
- 5
- 18
2
votes
2 answers
How can i add a custom build step in Qt Creator project wizard?
I used to have a project templates, when i code in Visual Studio, but now i have to use Qt Creator and find out it has something very similar, which called "Project Wizard". I need to have text file, which will be copied to build folder, and solved…

hoholok
- 23
- 1
- 6