Not to be picky, but the issue of case sensitivity ignores the original
question.
If it helps someone think about the issue better, change:
set(FOO_HEADER_FILES foo.h;bar.h;bat.h;Foo.h;Foo.hpp)
to
set(FOO_HEADER_FILES bar.h;bat.h;Foo.h;Foo.hpp)
Thanks,
Steve
On Tue, Jul 21, 2015 at 10:59
to be very precise,
OS X is a Case Preserving but NOT Case sensitive be default. OS X can be
made to be case sensitive but no one actually recommends it.
this means that on OS X foo.h and Foo.h resolve to be the same file, where as
on Linux they would be 2 different files. You would have
Are you saying the file does not exist in the installed framework, or
that you do not see copying Foo.h in the install output ...? This
seems very unlikely. The header files are supposed to be in the
framework in the build tree, and the built framework in its entirety
is supposed to be recursively
Well the definitely removes the case sensitivity issue. Do you have a compact
example that shows the failure? I took a look in our project and we don't have
any cases like this. I would find it a very odd and subtle bug it this really
were an issue. one of those edge cases that just did not get
I am saying the file does not exist in the either installed framework or in
the framework in the build directory. CMake is not moving the header
files that start with a capital letter into the framework headers
directory. Now I did double check and it *is* moving the .hpp header that
matches
Try putting ${FOO_HEADER_FILES} in the add_library call, too.
I reproduced this by adding a file, with **ANY** name, to the
PUBLIC_HEADER list of the
[CMake/Tests/Framework/CMakeLists.txt](https://github.com/Kitware/CMake/blob/master/Tests/Framework/CMakeLists.txt)
file... but NOT adding it to
Thanks David,
That change appears to have corrected the issue.
Steve
On Tue, Jul 21, 2015 at 4:30 PM, David Cole dlrd...@aol.com wrote:
Try putting ${FOO_HEADER_FILES} in the add_library call, too.
I reproduced this by adding a file, with **ANY** name, to the
PUBLIC_HEADER list of the
I've noticed that CMake 3.3.0-rc3 will not install a header file in a Mac
OS X framework if the header file starts with a capital letter (either that
or has the same name as the framework).
For example if I have the following:
set(FOO_HEADER_FILES foo.h;bar.h;bat.h;Foo.h;Foo.hpp)
It can't installiert both foo.h and Foo.h in the mac, better correct your
example.
Am 21.07.2015 5:19 vorm. schrieb Steven Wilson
steven.wesley.wil...@gmail.com:
I've noticed that CMake 3.3.0-rc3 will not install a header file in a Mac
OS X framework if the header file starts with a capital