Last active
February 27, 2019 05:34
-
-
Save itsuart/0f24c262f65a4a5a8935805bda4c7fcf to your computer and use it in GitHub Desktop.
VisualStudio C++ project settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output Directory: | |
$(ProjectDir)bin\$(PlatformShortName)-$(Configuration)\ | |
Intermediate Directory: | |
$(ProjectDir)obj\$(PlatformTarget)-$(Configuration)\ | |
Target Name: | |
$(ProjectName)-$(PlatformShortName) | |
to refer subproject output: | |
"$(SolutionDir)SUBPROJECT\bin\$(PlatformShortName)-$(Configuration)\" | |
To generate static library out of project's object files, add this to post-build event: | |
lib /LTCG /OUT:"$(ProjectDir)bin\$(PlatformShortName)-$(Configuration)\$(TargetName)-static.lib" "$(ProjectDir)obj\$(PlatformTarget)-$(Configuration)\*.obj" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment