Monday, August 30, 2021

Visual Studio Project Properties


  • Configuration
    • Debug/  x64 x86 - with debug information
    • Production release mode - release /release_opt x64 , without debug information
  • General - configuration type 
    • exe
    • dll
    • lib
  • Debugging
    • debugging working directory
    • any command-line commands
  • VC++ directories 
    • include /lib directories easy to use during development


  • C++ general
    • include directories include
    • preprocessor

  • linker
    • lib directories
    • input .lib files


  • Build events
    • prebuild - any command line or exe to be run before the project build
    • postbuild - any command line or exe to be run after the project build

Renaming a Visual Studio Project


 Renaming VS 2019 project 

  • Rename file directory 

  • Open sln in vs 

  • Project explorer 

  • Rename project solution name (sln will be renamed) 

  • Rename project name 

  • Build the project should build without errors  

  • Close VS 

  • Right-click and rename newname.vcxproj 

  • Right-click and rename newname.vcxproj.filters 

  • Right-click and rename newname.vcxproj.user 

  • Open newname.sln in note pad rename any old names text to the new name 

  • Open newname.vcxproj rename root namespace to new name 

Visual studio project initial svn commit


V
isual studio project  committing initial files to SVN  

  • Project 

  • Trunk 

  • Codebase 

  • public_inlude 

  • private_inlude 

  • src 

                                    VS2013 (filter) 
                                    VS2017 (filter) 
  • VS2019 (filter) 

  • .sln 

  • .vcproj 

  • .vcproj.filter 

  • Do not commit following 

  • X64 folder and dlls /libs /obj files 

  • dependency  

  • Vcproj .user 



 

 

LeetCode C++ Cheat Sheet June

🎯 Core Patterns & Representative Questions 1. Arrays & Hashing Two Sum – hash map → O(n) Contains Duplicate , Product of A...