juce_posix_SharedCode.cpp filename extension

Hi,

we are using CMake in order to compile juce under the three platforms.

Our CMakefiles.txt (project file) automatically includes all the *.cpp files of the platform_specific_code directories :

FILE(GLOB JUCE_PLATFORM_SOURCES
  ${JUCE_PLATFORM_SPECIFIC_DIR}/*.h 
  ${JUCE_PLATFORM_SPECIFIC_DIR}/*.cpp
  ${JUCE_PLATFORM_SPECIFIC_DIR}/*.mm
)

The consequence of taking all .cpp files is that juce_posix_SharedCode.cpp is automatically included into the project which leads compilation to fail. Since this file is included by other .cpp files, it would be great to change it extension (using .hpp for example).

Francis.

Yes, I suppose it probably should use a .h extension. I’ll change that.