Suggestion for $(WorkspacePath)
Posted: Tue May 10, 2011 1:13 am
Hi,
On a Windows host using GCC 4.6.0 and the latest Codelite (4778), I attempted to configure a project to generate the output file into the $(WorkspacePath) directory but unfortunately, this caused mingw32-make to fail with the following diagnostic:
This is due to the fact that $(WorkspacePath) is an absolute path (with a colon) and is surrounded by quotes. After removing the quotes from $(WorkspacePath) in the generated .mk file and running mingw32-make manually, it doesn't complain anymore and it generates the output at the expected location.
Thus, I would like to make a suggestion regarding the value of the $(WorkspacePath) macro. I think it would be better if quotes weren't added to it by default. If ever we need them, we can always add them manually to whatever is using $(WorkspacePath), while still allowing project output to be located relatively to $(WorkspacePath).
Thanks,
PM
On a Windows host using GCC 4.6.0 and the latest Codelite (4778), I attempted to configure a project to generate the output file into the $(WorkspacePath) directory but unfortunately, this caused mingw32-make to fail with the following diagnostic:
Code: Select all
*** target pattern contains no `%'. Stop.
Thus, I would like to make a suggestion regarding the value of the $(WorkspacePath) macro. I think it would be better if quotes weren't added to it by default. If ever we need them, we can always add them manually to whatever is using $(WorkspacePath), while still allowing project output to be located relatively to $(WorkspacePath).
Thanks,
PM