-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多个main函数的处理问题? #74
Comments
cpputils-cmake uses regular expression, it can't parse the cmake syntax. So it does not recognize the loop statement in I was told that since 2.8.5 CMake provides compile_commands.json so we can avoid using clumsy regular expression. But I don't have time to do this yet. If you are interested, you can send me pull request. |
thanks for replying, i will try recently |
smallst
added a commit
to smallst/cpputils-cmake
that referenced
this issue
Mar 14, 2017
…too#74 also fix a bug in cppcm-trim-compiling-flags at line 241 : when tk is shorter than 3 words (substring tk 0 3) will cause condition-case at line 713 return error
redguardtoo
pushed a commit
that referenced
this issue
May 7, 2017
use compile_command.json for exec_file finding | fixed issue #74
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我不知道标题怎么表述,最近有这样一个工程,希望在 test/ 中写多个测试文件,利用 cmake 控制了多个main函数的分别编译,在命令行中

make target
或者make all
是没有问题的但在 emacs 中, 只有
src/main.cc
中的语法错误被 flymake 标出了,而test/face.cc
中同样的语法错误却没有标出src/ 文件夹下的cmakelist 是这样的
test/ 文件夹下的cmakelist是这样的
The text was updated successfully, but these errors were encountered: