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

Ryuan Choi ryuan.choi at samsung.com
Wed Oct 12 00:16:55 EDT 2011


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, CMakeLists.txt should be seperated.
I'd like to know which one is better and fix them better way.

Below is related bug and you can see more information.
https://bugs.webkit.org/show_bug.cgi?id=56705

Best Regards,
Ryuan Choi


More information about the CMake mailing list