Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save th30c0der/3dcd2e2fe9131064d9fff59a061df717 to your computer and use it in GitHub Desktop.
Save th30c0der/3dcd2e2fe9131064d9fff59a061df717 to your computer and use it in GitHub Desktop.
Pure C project configuration for Visual Studio without CRT
Release/Debug:
General -> Whole Program Optimization -> No Whole Program Optimization
Linker -> Input -> Ignore All Default Libraries = Yes
Linker -> Manifest File -> Generate Manifest = Disabled
Linker -> Advanced -> Entry Point = (set EntryPointName)
C/C++ -> Code Generation -> Security Check = Disable Security Check
C/C++ -> Optimization -> Optimization = Disabled
C/C++ -> General -> SDL checks = (remove value)
C/C++ -> Advanced -> Compile As = Compile as C Code (if need C90)
Debug:
C/C++ -> Code Generation -> Runtime Library = Multi-threaded Debug (/MTd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment