开发者

Post-build step in Eclipse CDT

Eclipse SDK 3.5.1, CDT. I have the following workspace tree:

Bin (just d开发者_StackOverflow社区irectory)
--Debug
--Release
Client (project)
--Debug
--Release

In the Client project, Debug configuration, I fill Post-Build step:

cp Debug/Client ../Bin/Debug/

I want to copy output executable to Bin/Debug directory. Building the project, I have this error message: make[1]:[post-bulld] Error 1 (ignored) line 0

What is wrong? Also, can I use some variables, like Workspace directory, current configuration etc. in Post-Build step? Where can I find these variables and how to use them? Thank you.


Found solution: current directory is Debug, and not project directory, the command should be:

cp Client ../../Bin/Debug/
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜