Re: [cmake-developers] Specifying sources without file extensions

2016-12-08 Thread Ben Boeckel
On Thu, Dec 08, 2016 at 08:01:03 -0500, Brad King wrote: > On 12/08/2016 01:41 AM, Craig Scott wrote: > > file names without extensions is a feature which is simply missing > > documentation or is it an undocumented feature that projects are not > > supposed to use? Since there are error messages

Re: [cmake-developers] Specifying sources without file extensions

2016-12-08 Thread Brad King
On 12/08/2016 01:41 AM, Craig Scott wrote: > file names without extensions is a feature which is simply missing > documentation or is it an undocumented feature that projects are not > supposed to use? Since there are error messages like the above, it > would seem that the latter would be a harder

[cmake-developers] Specifying sources without file extensions

2016-12-07 Thread Craig Scott
I've come across some projects where the source files listed in their add_executable() and add_library() commands do not have file extensions. It seems that CMake still finds the sources by trying some set of file suffixes. This is not documented behaviour, but it does show up in error messages if