Re: [CMake] Which style of file extension is better for optional CMake files?

2011-10-12 Thread Ryuan Choi
> I think it's mostly a matter of style... so you could go either way. > > Personally, I would choose the "PlatformXXX.cmake" names over the > other ones. The other ones are too close to "CMakeLists.txt" and could > be confused for them by a quick scan of the file name. So, for human > readability

Re: [CMake] Which style of file extension is better for optional CMake files?

2011-10-12 Thread David Cole
On Wed, Oct 12, 2011 at 12:16 AM, Ryuan Choi wrote: > Dear CMake Developers, > > Can I know which style is more closed to CMake style? > a) CMakeLists.txt and PlatformXXX.cmake for optional platform specific source > lists in same folder. > b) CMakeLists.txt and CMakeListsXXX.cmake in same folder

[CMake] Which style of file extension is better for optional CMake files?

2011-10-11 Thread Ryuan Choi
Dear CMake Developers, Can I know which style is more closed to CMake style? a) CMakeLists.txt and PlatformXXX.cmake for optional platform specific source lists in same folder. b) CMakeLists.txt and CMakeListsXXX.cmake in same folder. Because there are many platform specific files in my project,