An open API service indexing awesome lists of open source software.

https://github.com/vorgestern/vsprops

Collection of predefined properties for Visual Studio projects
https://github.com/vorgestern/vsprops

configuration configuration-management property propertysheets tools visual-studio

Last synced: 4 months ago
JSON representation

Collection of predefined properties for Visual Studio projects

Awesome Lists containing this project

README

          

# What is this

A collection of property sheets for inclusion in Visual Studio projects.
They make projects (.vcxproj) more readable and easier to maintain
by addressing specific aspects (for example use of precompiled headers
or linking with an external library) in separate files named corresponding
to the aspect. They can be freely combined to determine the whole project.

# How to use

Include property sheets in project files (.vcxproj) in the ImportGroup
labeled 'PropertySheets' as in this example:



Eliminate corresponding settings made directly in the .vcxproj file by
Visual Studio. In the long run, begin to think of .vcxproj as a filetype
to be edited manually - dont't let Visual Studio write it!

# Status

Only examples so far.

# Examples

**SubsystemConsole.props**
: Used by projects intended for the console. Defines the subsystem and corresponding preprocessor definitions for any platform and configuration.

**SubsystemWindows.props**
: Used by GUI-Projects. Defines the subsystem and corresponding preprocessor definitions for any platform and configuration.

**LuaForWindows.props**
: Used to include Lua installed by [LuaForWindows](https://github.com/rjpcomputing/luaforwindows). Works for any platform and configuration.

**precompiled_headers.props**
: Used to configure the use of precompiled headers. Makes it easy to adapt the name of the header or the pch-file for any platform and configuration.