Unusual requirement. But it can be done. Add a new project to your solution, use the Visual C++ > General > Makefile Project template. Set its NMake > Build Command Line setting to the commands you want to execute. Use Project > Project Dependencies to make all other projects depend on it.
More Related Contents:
- What are the various “Build action” settings in Visual Studio project properties and what do they do?
- How can I rename a project folder from within Visual Studio?
- Error: Cannot access file bin/Debug/… because it is being used by another process
- Tool to view the contents of the Solution User Options file (.suo)
- Copying Visual Studio project file(s) to output directory during build
- Visual Studio open files question
- Recommended number of projects in Visual Studio Solution
- Structuring projects & dependencies of large winforms applications in C#
- App.Config Transformation for projects which are not Web Projects in Visual Studio?
- Proper way to rename solution (and directories) in Visual Studio
- VS2010 How to include files in project, to copy them to build output directory automatically during build or publish
- Visual Studio 2012 – Intellisense sometimes disappearing / broken
- Slow debugging issue in Visual Studio
- Mercurial .hgignore for Visual Studio 2008 projects
- visual c++: #include files from other projects in the same solution
- How do you auto format code in Visual Studio?
- How do you tell the Visual Studio project type from an existing Visual Studio project
- Visual Studio 2017 Debug Error: To prevent an unsafe abort when evaluating the function *.toString all threads were allowed to run
- I want to delete all bin and obj folders to force all projects to rebuild everything
- Visual Studio (2008) ‘Clean Solution’ Option
- Tools for inspecting .lib files?
- Will installing Visual Studio 2010 side by side with VS2008 cause problems?
- Search stops working for “Entire Solution”
- Visual Studio Copy Project
- How to programmatically include a file in my project?
- Is it possible to create a Windows 8 Store App from Visual Studio 2013?
- Visual Studio or Resharper functionality for placement of using directives
- Visual Studio – how to find source of heap corruption errors
- Can I include dll in exe (in Visual Studio)? [duplicate]
- Windows CRT and assert reporting (abort, retry, ignore)