Notepad++和GCC搭建C++IDE的方法,不用必须设置系统变量

编译:cmd /k D:Dev-Cppbing++.exe -g -W -Wall -o
"$(CURRENT_DIRECTORY)"$(NAME_PART).exe "$(FULL_CURRENT_PATH)" &
PAUSE & EXIT

运行:cmd /k cd "$(CURRENT_DIRECTORY)" & "$(CURRENT_DIRECTORY)"$(NAME_PART).exe & PAUSE & EXIT

调试:cmd /k cd "$(CURRENT_DIRECTORY)" & D:Dev-Cppbingdb.exe "$(CURRENT_DIRECTORY)"$(NAME_PART).exe

删除:cmd /k cd "$(CURRENT_DIRECTORY)" & del "$(CURRENT_DIRECTORY)"$(NAME_PART).exe & PAUSE & EXIT

cmd /k cd "$(CURRENT_DIRECTORY)" & _run.exe $(FULL_CURRENT_PATH) $(CURRENT_DIRECTORY) $(NAME_PART)

//F6 里面加

// run@.cpp
SET g++ = C:Dev-Cppbing++.exe
SET obj = $(CURRENT_DIRECTORY)$(NAME_PART)
"$(g++)" -c "$(FULL_CURRENT_PATH)" -o "$(obj).o"
"$(g++)" "$(obj).o" -o "$(obj).exe"
NPP_RUN "$(obj).exe"
UNSET obj
UNSET g++



关于 McKelvin

a hacker who's interested in `music computing` and `network security`.
此条目发表在 Work 分类目录。将固定链接加入收藏夹。