/vcxproj_generator

vcxproj_generator

Primary LanguagePythonBoost Software License 1.0BSL-1.0

vcxproj_generator

CodeQL Quality Gate Status Codacy Badge Issues Boost Software License 1.0

A Tool that iteratively searches for files (*.h, *.cpp, *.c, etc.) in a given path and its subfolders to generate the *.vcxproj and *.vcxproj.filters files.

How to use

  1. Run the exe file vcxproj_generator.exe
  2. Select your project folder
  3. Set your visual studio configuration
  4. Run the program

image

After you run the program, the vcxproj files will be generated and additionally all files found in the specified folder will be listed in the output window

Supported file extensions

HEADER_EXT = ['.h',  '.in', '.hpp']
SOURCE_EXT = ['.c',  '.cc', '.cpp']
NONE_EXT   = ['.md', '.ld', '.gmk']
If you need more extensions, you can add them yourself in the script vcxproj_generator.py.

Notes:

  • If you want to regenerate new vcxproj files, you should first close the project in Visual Studio IDE.
  • The generated project may fail to build due to SDK versions (default 8.1), so I always recommand you to check the SDK version first