So my question is: Is there a way to tell SciTE where to search for the
source files, or any other way to solve this issue without having to
change the directory layout of my projects?
There is no way to set a search path but you can ask for build to
run from a particular directory with
command.build.directory.<filepatttern>
For example, in the scite/src directory, the local.properties file has
command.build.directory.*.cxx=..\win32
command.build.directory.*.h=..\win32
Neil
Thanks, that solves my problem nicely. But I have a few more questions:
- There doesn't seem to be a similar command.GO.directory.filepattern.
Is this going to be added? I sometimes use the go command to build and
run with one key press.
- With the build and go commands, the active file is saved
automatically. Is there a way to make it save ALL open files? Often I
have more than one modified file when I do a build.
SciTE is a great tool, I keep discovering new things that help me work
more efficiently. There are probably a few more things that I haven't
discovered yet. This made me wonder. Is there a place where I can look
at other people's properties files to get a better idea of what is
possible? I've pasted the local properties file that I use myself for a
C++ project below.
regards,
Martijn
#project commands: helixEdit
projectdir=d:\prg\helixEdit
binaryfile=helix.exe
command.build.directory.*=$(projectdir)
command.build.*=mingw32-make -f makefile.bcc
command.build.subsystem.*=0
command.go.directory.*=$(projectdir)
command.go.*=$(binaryfile)
command.go.*=cmd /C cd /D $(projectdir) & $(binaryfile)
command.go.needs.*=mingw32-make -f makefile.bcc -C$(projectdir)
command.go.needs.subsystem.*=0
command.name.4.*=Run
command.4.*=cmd /C cd /D $(projectdir) & $(binaryfile)
command.subsystem.4.*=0
command.mode.4.*=savebefore:yes
command.name.5.*=Make Clean
command.5.*=mingw32-make -f makefile.bcc -C$(projectdir) clean
command.subsystem.5.*=0
command.mode.5.*=savebefore:yes
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest