FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test_case_filesystem.tmp" "foo")
IF(FILE EXITS "${CMAKE_CURRENT_BINARY_DIR}/test_case_filesystem.TMP")
...
ENDIF()
You should also check if the file already exists.
But, be careful. On Mac for example HFS is case independent, but NFS or
other FS may not be.
Andy
On Fri, Sep 19, 2008 at 7:12 AM, Mathieu Malaterre <
[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I would like to write in a portable way the following cmake script:
>
> FILE(GLOB myvar
> "${fullpath}"/*.DCM
> "${fullpath}"/*.dcm
> )
>
> How do I check that the target system is case sensitive or not ?
>
>
> Thanks,
> --
> Mathieu
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Lets bike the world together
http://legoandy.com
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake