Archive: How to define source directory?


How to define source directory?
Original files I need to install is located in \\networkshare\Dev\NewProject. That folder has everything - source codes, documentation, binaries... But it is extremely slow on write-access and I can not compile directly inside it. So I have .nsi on my local drive and reading source data from network.
In my .nsi I have right now:

Section "NewProject"
SetOutPath $INSTDIR\bin
File \\networkshare\Dev\NewProject\bin\*.exe
File \\networkshare\Dev\NewProject\bin\*.dll
SetOutPath $INSTDIR\share
File /r \\networkshare\Dev\NewProject\resources\*.*
SectionEnd
Section "NewProject Documentation"
SetOutPath $INSTDIR\doc
File \\networkshare\Dev\NewProject\documntation\*.*
SectionEnd
Is it possible to define my source path (\\networkshare\Dev\NewProject) as a compile-time constant?

ofcourse

!define SRCPATH "\\networkshare\Dev\NewProject"

...

File "${SRCPATH}\folder\file.txt"