18 Star 39 Fork 1

mathmhb / Makefile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
zzz_mhb.properties 8.25 KB
一键复制 编辑 原始数据 按行查看 历史
mathmhb 提交于 2023-12-23 08:24 . fix a bug of Tools/Go for lua
[Editing]
tabbar.hide.one=1
tabbar.multiline=1
tabbar.visible=1
toolbar.visible=1
statusbar.visible=1
line.margin.visible=1
line.margin.width=2+
autocomplete.choose.single=0
autocomplete.*.fillups=1
autocompleteword.automatic=1
tabsize=4
indent.size=4
indent.auto=1
load.on.activate=1
output.wrap=1
highlight.current.word=1
find.replace.advanced=1
find.files=*.c *.cpp *.cxx *.h *.hpp *.pro* *.py *.lua *.php *.md *.tex *.txt Makefile.*
view.indentation.whitespace=1
view.indentation.guides=1
view.indentation.examine=3
highlight.indentation.guides=1
[Style]
# Brace highlight
style.*.34=fore:#0000FF,bold,size:10.8
# Brace incomplete highlight
style.*.35=fore:#FF0000,bold,size:10.8
# Black background with white text for output
#style.errorlist.32=$(font.small),back:#000000
#style.errorlist.0=fore:#FFFFFF
caret.fore=#8800FF
[Codepage]
if PLAT_WIN
code.page=936
output.code.page=936
if PLAT_GTK
code.page=65001
output.code.page=65001
[Imports]
if PLAT_WIN
import config/cn_utf8.properties
import config/cn2_utf8.properties
import cpp
import lua
import euphoria
#import config/toolbar.properties
#import config/tools-win.properties
import SciTE.session
[File Filters]
source.files=$(star *source.patterns.)
source.all.filter=All Source|$(source.files)|
# Each platform has a different idea of the most important filters
if PLAT_WIN
all.files=All Files (*.*)|*.*|
top.filters=$(all.files)$(source.all.filter)
if PLAT_GTK
all.files=All Files (*)|*|Hidden Files (.*)|.*|
top.filters=$(source.all.filter)$(all.files)
# As OS X only greys out filtered files, show all as default
if PLAT_MAC
all.files=All Files (*.*)|*.*|
top.filters=$(all.files)$(source.all.filter)
# Gather all settings with "*filter." prefix from all active .properties files
list.filters=$(star *filter.)
open.filter=$(top.filters)$(list.filters)
#save.filter=$(open.filter)
[File Patterns]
file.patterns.make=makefile.*;Makefile.*;*.mak;configure
file.patterns.markdown=*.md;*.mkd;*.markdown
*source.patterns.make=$(file.patterns.make)
*source.patterns.markdown=*.md
*source.patterns.tex=*.tex
*source.patterns.cpp=*.c;*.cpp;*.cc;*.cxx;*.cs;*.h;*.hh;*.hpp;*.hxx;*.ipp;*.rc;*.dlg
default.file.ext=.cxx
source.default.extensions=.h|.cpp|.cxx|.py|.tex|.md|.bat
[api/abbreviations]
API_DIR=$(SciteDefaultHome)
if MHB_CFG
API_DIR=$(MHB_DIR)
api.*.c=$(API_DIR)/my.api;$(API_DIR)/c.api
api.$(file.patterns.cpp)=$(API_DIR)/my.api;$(API_DIR)/c.api;$(API_DIR)/opencv.api;$(API_DIR)/pcl.api
abbreviations.$(file.patterns.cpp)=$(API_DIR)/my.abbr;$(API_DIR)/c.abbr
[Debugger Commands]:: settings for _debug\debugger.lua
#~ spawner.extension.path=$(SciteDefaultHome)\lib
spawner.extension.path=$(SciteDefaultHome)\user\c\x64
debug.path=D:\mygit\Makefile\user\mod-scite-debug\dbgInterfaces
clidebug.path=$(SciteDefaultHome)\tools\_debug\lua_clidebugger
remdebug.path=$(SciteDefaultHome)\tools\_debug\remDebug
## please change LUA_EXE and MINGW in myutils.properties
debug.lua=$(LUA_EXE)
debug.gdb=gdb
[Build/Go/Clean/Misc]
MAKEFILE="$(SciteDefaultHome)"/Makefile.mhb
if MHB_CFG
MAKEFILE=$(MHB_DIR)/Makefile.mhb
#prefer to generate debug info so as to use gdb for debugging
DEBUG=1
#try tcc instead of gcc to compile *.c if tcc (tiny c compiler) is available
TRY_TCC=0
#define executable extension
EXE_EXT=
if PLAT_WIN
EXE_EXT=.exe
#You may reset C and L in Local Options File such as
#C=-I /share/home/mhb/ncnn/build/install/include
#L=-L /share/home/mhb/ncnn/build/install/lib
#C=-I /usr/include/eigen3 -I /usr/include/opencv4 -I /usr/local/include/pcl-1.11
#L=-L /usr/local/lib
#Compile command uses gcc/g++ by default for c/c++ files
ccopts=-pedantic -Os $(C) $(L)
cc1=gcc
cc2=g++
compile_c=$(cc1) -std=c99 $(ccopts) $(FileNameExt) -o $(FileName)$(EXE_EXT)
compile_cpp=$(cc2) -std=c++14 $(ccopts) $(FileNameExt) -o $(FileName)$(EXE_EXT)
command.compile.*.c=$(compile_c)
command.compile.*.cpp=$(compile_cpp)
command.compile.*.cxx=$(compile_cpp)
command.go.needs.*.c=$(compile_c)
command.go.needs.$(file.patterns.cplusplus)=$(compile_cpp)
command.name.0.$(file.patterns.cpp)=
command.name.1.$(file.patterns.cplusplus)=
if TRY_TCC
ccopts=-Os -lm $(C) $(L)
cc1=tcc
if PLAT_GTK
MAKER=make
command.go.*=./$(FileName)
command.go.subsystem.*=0
if PLAT_WIN
MAKER=mingw32-make
command.go.*=.\$(FileName).exe
command.go.$(file.patterns.cpp)=.\$(FileName).exe
command.go.subsystem.*=1
CMD_MAKER=$(MAKER) -f "$(MAKEFILE)" C="$(C)" L="$(L)" DEBUG=$(DEBUG) TRY_TCC=$(TRY_TCC)
make.command=$(CMD_MAKER)
command.build.*=$(CMD_MAKER) FILE="$(FileNameExt)" ARGS="$(run.args)"
command.subsystem.build.*=0
command.build.*.cpp=$(CMD_MAKER) FILE="$(FileNameExt)" ARGS="$(run.args)"
command.build.*.tex=$(CMD_MAKER)
command.build.$(file.patterns.context)=$(CMD_MAKER)
if PLAT_WIN
command.go.$(file.patterns.markdown)="$(FileName).html"
command.go.subsystem.$(file.patterns.markdown)=0
if PLAT_GTK
command.go.$(file.patterns.markdown)=xdg-open "$(FileName).html"
command.go.subsystem.$(file.patterns.markdown)=0
if PLAT_WIN
command.go.$(file.patterns.tex)="$(FileName).pdf"
command.go.subsystem.$(file.patterns.pdf)=0
if PLAT_GTK
command.go.$(file.patterns.tex)=evince "$(FileName).pdf"
command.go.subsystem.$(file.patterns.pdf)=0
command.go.$(file.patterns.lua)=dofile $(FilePath)
command.go.subsystem.$(file.patterns.lua)=3
command.clean.*=$(CMD_MAKER) clean
command.subsystem.clean.*=0
command.name.30.*=Debug with GDB
command.30.*=$(CMD_MAKER) _gdb FILE="$(FileNameExt)" ARGS="$(run.args)"
command.subsystem.30.*=0
command.shortcut.30.*=Shift+F9
command.name.31.*=Run
command.31.*=$(CMD_MAKER) _run FILE="$(FileNameExt)" ARGS="$(run.args)"
command.subsystem.31.*=0
command.shortcut.31.*=F9
command.name.32.*=Profiling
command.32.*=$(CMD_MAKER) _prof FILE="$(FileNameExt)" ARGS="$(run.args)" C="$(C)" PROFILING="$(PROFILING)"
command.subsystem.32.*=0
command.shortcut.32.*=Alt+F9
command.name.33.*=Lint
command.33.*=$(CMD_MAKER) _lint FILE="$(FileNameExt)" C="$(C)"
command.subsystem.33.*=0
command.shortcut.33.*=Alt+F8
command.name.34.*=Generate tags and api
command.34.*=$(CMD_MAKER) _tags
command.subsystem.34.*=0
command.name.35.*=Build and Run Remotely
command.35.*=$(CMD_MAKER) _run_remote PORT="$(ssh.port)" HOST="$(ssh.host)" USER="$(ssh.user)" KEY="$(ssh.key)" FILE="$(FileNameExt)" DIR="$(FileDir)" ARGS="$(run.args)"
command.subsystem.35.*=0
command.shortcut.35.*=Ctrl+F9
command.name.41.*=Command/Shell Prompt
command.shortcut.41.*=Ctrl+Alt+P
if PLAT_WIN
command.41.*=start cmd /k
command.subsystem.41.*=0
if PLAT_GTK
command.41.*=xterm -fs 14 -bg green
command.subsystem.41.*=2
command.name.42.*=Explorer/FileManager
command.shortcut.42.*=Ctrl+Alt+E
if PLAT_WIN
command.42.*=explorer /select,"$(FilePath)"
command.subsystem.42.*=1
if PLAT_GTK
command.42.*=xdg-open "$(FileDir)"
command.subsystem.42.*=0
command.name.43.*=Search Enginee
command.shortcut.43.*=Ctrl+Alt+S
if PLAT_WIN
command.43.*=http://cn.bing.com/search?q="$(CurrentSelection)"
command.subsystem.43.*=2
if PLAT_GTK
command.43.*=xdg-open http://cn.bing.com/search?q="$(CurrentSelection)"
command.subsystem.43.*=0
command.name.44.*=Format with Astyle
command.44.*=$(CMD_MAKER) _format FILE="$(FileNameExt)"
command.is.filter.44.*=1
command.shortcut.44.*=Shift+F8
command.name.45.*=Spelling with Aspell
command.45.*=$(CMD_MAKER) _spell FILE="$(FileNameExt)"
command.is.filter.45.*=1
command.shortcut.45.*=Ctrl+F8
command.name.46.*=Git _update
command.46.*=$(CMD_MAKER) _update
command.subsystem.46.*=0
command.shortcut.46.*=F10
command.name.47.*=Git _commit
command.47.*=*$(CMD_MAKER) _commit MSG="$(1)" FILE="$(FileNameExt)"
command.subsystem.47.*=0
command.shortcut.47.*=Shift+F10
command.name.48.*=Git _config
command.48.*=$(CMD_MAKER) _gitconfig NAME=$(git.user.name) PASS=$(git.user.password) EMAIL=$(git.user.email) OPT=--global
command.subsystem.48.*=0
command.shortcut.48.*=
[StartUp Lua Scripts]:: define lua scripts to preload and related settings
ext.lua.reset=0
ext.lua.auto.reload=1
LUA_DIR=$(API_DIR)
ext.lua.directory=$(LUA_DIR)/scite_lua
ext.lua.startup.script=$(LUA_DIR)/StartUp.lua
extension.*=
其他
1
https://gitee.com/imbit_mathmhb/Makefile.git
git@gitee.com:imbit_mathmhb/Makefile.git
imbit_mathmhb
Makefile
Makefile
master

搜索帮助