CMake/Tests/ComplexOneConfig
Adrien Destugues 7ebc1cb2ff Haiku: Several fixes to platform module
* Do not define BEOS anymore (this includes workarounds which we don't
  need most of the time in Haiku, so we prefer opt-in IF(HAIKU) in the
  cmake files instead).
* On the other hand, do define UNIX (we are trying to be compliant) and
  HAIKU (there is still a number of things we don't do like the
  average UNIX clone)
* Do not use UnixPaths, as our filesystem hierarchy isn't anything like
  what it expects.
* Do not use -nostart, which the compiler doesn't know about anymore.
  This used to be an Haiku extension to gcc, and is equivalent to
  -shared which is the default gcc option.
* While "dl" functions are provided in libroot, this is always
  implicitly linked so there is no need to tell cmake about it.
* Forcing position-independent code is not needed, so remove it.
* On the other hand, include appropriate linker options for executables
  and shared libraries.
* Support for the two available compilers in Haiku (gcc2 and gcc4) and
  pick the right headers and libraries according to the currently
  selected one.
* With the adoption of the package manager, the directory layout was
  changed. Tell cmake where to look for header files and libraries.
* As we don't define BEOS anymore, enable the workaround we still need
  for HAIKU as well. This is the lack of a libm (it is part of the
  implicitly linked in libroot)

Applied-by: Rolf Eike Beer <eike@sf-mail.de>
2013-10-08 09:54:46 -04:00
..
Cache ENH: Move CMakeCache.txt to Cache/ directory to avoid any in-source build pb. 2002-01-22 15:50:52 -05:00
Executable get_filename_component: Add explicit unit tests 2013-04-16 09:35:29 -04:00
Library Haiku: Several fixes to platform module 2013-10-08 09:54:46 -04:00
CMakeLists.txt replace string(... MATCHES "^const$) with string(... STREQUAL "const") 2013-06-02 22:18:19 +02:00
VarTests.cmake get_filename_component: Add explicit unit tests 2013-04-16 09:35:29 -04:00
cmTestConfigure.h.in get_filename_component: Add explicit unit tests 2013-04-16 09:35:29 -04:00
cmTestConfigureEscape.h.in add a test for escape quotes and configure file 2002-05-23 13:04:00 -04:00
cmTestGeneratedHeader.h.in ENH: Added test for generated header included by non-generated source. 2002-12-13 17:35:00 -05:00