[Freeswitch-svn] [commit] r11913 - freeswitch/trunk

FreeSWITCH SVN shaneb at freeswitch.org
Wed Feb 11 19:37:51 PST 2009


Author: shaneb
Date: Wed Feb 11 21:37:51 2009
New Revision: 11913

Log:
Cmake starting point

Modified:
   freeswitch/trunk/CMakeLists.txt

Modified: freeswitch/trunk/CMakeLists.txt
==============================================================================
--- freeswitch/trunk/CMakeLists.txt	(original)
+++ freeswitch/trunk/CMakeLists.txt	Wed Feb 11 21:37:51 2009
@@ -145,18 +145,24 @@
 
 
 # DO LIBEDIT
-FIND_PACKAGE (Libedit)
-LINK_LIBRARIES (${PATH_LIB_EDIT})
-INCLUDE_DIRECTORIES (${PATH_INC_EDIT})
-
-if( PATH_LIB_EDIT)
-        add_definitions( -DSWITCH_HAVE_LIBEDIT)
-	MESSAGE( STATUS "Found libedit = ${PATH_LIB_EDIT}" )
-endif( PATH_LIB_EDIT)
+#FIND_PACKAGE (Libedit)
+#LINK_LIBRARIES ("/Users/shaneburrell/freeswitch-svn-real/libs/libedit/src/.libs/libedit.a")
+#INCLUDE_DIRECTORIES("libs/libedit/src/")
+#LINK_LIBRARIES (${PATH_LIB_EDIT})
+#INCLUDE_DIRECTORIES (${PATH_INC_EDIT})
+
+#if( PATH_LIB_EDIT)
+#        add_definitions( -DSWITCH_HAVE_LIBEDIT)
+#	add_definitions( -DHAVE_EDITLINE)
+#	MESSAGE( STATUS "Found libedit = ${PATH_LIB_EDIT}" )
+#endif( PATH_LIB_EDIT)
 
 
 #TESTING SECTION
 add_definitions(-DMACOSX)
+#add_definitions("-DSWITCH_PREFIX_DIR=/usr/local/freeswitch")
+
+
 
 # DO SRTP
 LINK_LIBRARIES (${CMAKE_SOURCE_DIR}/libs/srtp/.libs/libcryptomath.a)
@@ -201,7 +207,7 @@
 #ADD_SUBDIRECTORY(libs/sqlite/)
 ADD_SUBDIRECTORY(libs/pcre/)
 ADD_SUBDIRECTORY(libs/stfu/)
-ADD_SUBDIRECTORY(libs/libedit/)
+#ADD_SUBDIRECTORY(libs/libedit/src/)
 ADD_SUBDIRECTORY(libs/srtp/)
 
 SET ( freeswitch_SRCS src/switch.c src/include/switch.h)



More information about the Freeswitch-svn mailing list