[cmake-commits] alex committed CMakeLists.txt 1.137 1.138
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Nov 23 20:45:51 EST 2007
Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv17476
Modified Files:
CMakeLists.txt
Log Message:
ENH: add support for the Syllable OS (http://www.syllable.org)
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- CMakeLists.txt 21 Nov 2007 17:55:24 -0000 1.137
+++ CMakeLists.txt 24 Nov 2007 01:45:49 -0000 1.138
@@ -319,14 +319,19 @@
#---------------------------------------------------------------------
# Use curses?
IF (UNIX)
- SET(CURSES_NEED_NCURSES TRUE)
- FIND_PACKAGE(Curses QUIET)
- IF (CURSES_LIBRARY)
- OPTION(BUILD_CursesDialog "Build the CMake Curses Dialog ccmake" ON)
- ELSE (CURSES_LIBRARY)
- MESSAGE("Curses libraries were not found. Curses GUI for CMake will not be built.")
+ # there is a bug in the Syllable libraries which makes linking ccmake fail, Alex
+ IF(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
+ SET(CURSES_NEED_NCURSES TRUE)
+ FIND_PACKAGE(Curses QUIET)
+ IF (CURSES_LIBRARY)
+ OPTION(BUILD_CursesDialog "Build the CMake Curses Dialog ccmake" ON)
+ ELSE (CURSES_LIBRARY)
+ MESSAGE("Curses libraries were not found. Curses GUI for CMake will not be built.")
+ SET(BUILD_CursesDialog 0)
+ ENDIF (CURSES_LIBRARY)
+ ELSE(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
SET(BUILD_CursesDialog 0)
- ENDIF (CURSES_LIBRARY)
+ ENDIF(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
ELSE (UNIX)
SET(BUILD_CursesDialog 0)
ENDIF (UNIX)
More information about the Cmake-commits
mailing list