Skip to content

Instantly share code, notes, and snippets.

@ZaronZ
Created March 5, 2018 03:20
Show Gist options
  • Save ZaronZ/fefe7bedd5b1c4fb8ec83b1fc1b9d2c3 to your computer and use it in GitHub Desktop.
Save ZaronZ/fefe7bedd5b1c4fb8ec83b1fc1b9d2c3 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