Eclipse CDT, environment variable for “name of file being currently compiled”

佐手、 提交于 2019-12-11 06:22:34

问题


I need to select some command-line parameters variable with name of file such as:

g++ [options] ${something}.s [other parameters] foo.cpp

to have assembly output same as foo.s for foo.cpp and bar.s for bar.cpp for all files of project.

Where can I find the necessary environment variable ${something}?

来源:https://stackoverflow.com/questions/45402460/eclipse-cdt-environment-variable-for-name-of-file-being-currently-compiled

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!