Created
December 22, 2019 03:15
-
-
Save Fireforge/9eda750efb95fae04a314c3023affed5 to your computer and use it in GitHub Desktop.
VisualStudio Robocopy post-build: A post-build command for running robocopy to copy over native dependencies
This file contains 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
;; Silent: /NP /NFL /NDL /NJH /NJS /NC /NS | |
;; Copy native build into Debug and Release: | |
if $(ConfigurationName) == Debug ((robocopy $(SolutionDir)..\..\build\native $(TargetDir) *.dll *.pdb /NP ) ^& IF %ERRORLEVEL% LEQ 1 exit 0) | |
if $(ConfigurationName) == Release ((robocopy $(SolutionDir)..\..\build\native $(TargetDir) *.dll /XF *_d.dll /NP ) ^& IF %ERRORLEVEL% LEQ 1 exit 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment