SciTE常用编译环境的配置,scite编译环境
JAVA环境的配置
首先在“Options”菜单下打开“cpp.properties”,找到以下三行:
command.compile.*.java=javac.exe $(FileNameExt)
command.build.*.java=javac.exe *.java
command.go.*.java=java.exe $(FileName)
改成:
Java_Home=E:\Java\jdk1.5.0_14 #这是我的JDK的安装目录,你需要根据你的具体情况设置。
Java_Bin=$(Java_Home)\bin
command.compile.*.java=$(Java_Bin)\javac.exe $(FileNameExt)
command.build.*.java=$(Java_Bin)\javac.exe *.java
command.go.*.java=$(Java_Bin)\java.exe $(FileName)
PHP环境配置
首先在“Options”菜单下打开“Html.properties”,找到以下两行:
command.go.$(file.patterns.php)=php -f "$(FileNameExt)"
command.compile.$(file.patterns.php)=php -l "$(FileNameExt)"
改成:
PHP_Bin=D:\xampplite\php # 这里要设置成你的php.exe所在的目录
command.go.$(file.patterns.php)=$(PHP_Bin)\php.exe -f "$(FileNameExt)"
command.compile.$(file.patterns.php)=$(PHP_Bin)\php.exe -l "$(FileNameExt)"
C/C++环境配置
[C/C++编译器配置--GCC配置]
#MinGW_Home=C:\Program Files\DEV-CPP
#MinGW_Bin=$(MinGW_Home)\bin
#ccopts=-pedantic -Os
#cc=$(MinGW_Bin)\g++.exe $(ccopts) -c $(FileNameExt) -o $(FileName).o
#ccc=$(MinGW_Bin)\gcc.exe $(ccopts) -c $(FileNameExt) -o $(FileName).o
#make.command=make
#command.compile.*.c=$(ccc) -std=c99
#command.build.*.c=$(make.command)
#command.build.*.h=$(make.command)
#command.go.*.c=./$(FileName)
# To make the Go command both compile (if needed) and execute, use this setting:
#command.go.needs.*.c=gcc $(ccopts) -std=c99 $(FileNameExt) -o $(FileName)
#command.compile.$(file.patterns.cplusplus)=$(cc)
#command.build.$(file.patterns.cplusplus)=$(make.command)
#command.go.$(file.patterns.cplusplus)=./$(FileName)
#command.go.needs.$(file.patterns.cplusplus)=$(MinGW_Bin)\g++.exe $(ccopts) $(FileNameExt) -o $(FileName)
#command.name.0.$(file.patterns.cpp)=Indent
#command.0.$(file.patterns.cpp)=astyle -taOHUKk3 -M8 $(FileNameExt)
#command.is.filter.0.$(file.patterns.cpp)=1
#command.name.1.$(file.patterns.cplusplus)=Lint
#command.1.$(file.patterns.cplusplus)=g++ -W -Wall -Wshadow -Wwrite-strings -Wold-style-cast \
-Woverloaded-virtual -pedantic -Os -fno-exceptions -c $(FileNameExt)
#command.name.2.$(file.patterns.cplusplus)=Make EXE
#command.2.$(file.patterns.cplusplus)=$(MinGW_Bin)\g++.exe $(ccopts) $(FileNameExt) -o $(FileName).exe
#command.name.2.*.c=Make EXE
#command.2.*.c=$(MinGW_Bin)\gcc.exe $(ccopts) $(FileNameExt) -o $(FileName).exe
[C/C++编译器配置--BCC配置]
#以下是BCC的设置
bcc32=C:\Borland\BCC55\Bin\bcc32
ilink32=C:\Borland\BCC55\Bin\ilink32
cc=$(bcc32) -y -v -c -o$(FileName) $(FileNameExt)
build=$(ilink32) -v "$(FileName).obj" import32.lib cw32.lib c0x32.obj /ap
buildw=$(ilink32) -v "$(FileName).obj" import32.lib cw32.lib c0w32.obj /aa
command.compile.*.c=$(cc)
command.build.*.c="$(build)"
command.go.*.c=$(FileName) && "del $(FileName).obj $(FileName).ilc $(FileName).ild $(FileName).ilf $(FileName).ils $(FileName).tds $(FileName).map"
command.compile.*.cc=$(cc)
command.build.*.cc=$(build)
command.go.*.cc=$(FileName)
command.compile.*.cpp=$(cc)
command.build.*.cpp=$(build)
command.go.*.cpp=$(FileName)command.compile.*.cxx=$(cc)
#command.name.3.*.c=生成Win
#command.3.*.c=$(buildw)
#command.subsystem.3.*.c=0
#command.name.3.*.cpp=生成Win
#command.3.*.cpp=$(buildw)
#command.subsystem.3.*.cpp=0
command.name.0.*=Clear temp
command.0.*=del $(FileName).obj $(FileName).ilc $(FileName).ild $(FileName).ilf $(FileName).ils $(FileName).tds $(FileName).map
command.subsystem.0.*=0
相关文章暂无相关文章