Author: sayer
Date: 2009-03-03 09:29:59 +0100 (Tue, 03 Mar 2009)
New Revision: 1292
Added:
trunk/core/plug-in/sipctrl/CMakeLists.txt
Removed:
trunk/core/config.h.cmake
Modified:
trunk/core/CMakeLists.txt
trunk/core/config.h
trunk/core/plug-in/CMakeLists.txt
Log:
more on cmake build system
Modified: trunk/core/CMakeLists.txt
===================================================================
--- trunk/core/CMakeLists.txt 2009-03-03 08:27:52 UTC (rev 1291)
+++ trunk/core/CMakeLists.txt 2009-03-03 08:29:59 UTC (rev 1292)
@@ -1,5 +1,5 @@
-set (sems_SRCS
+SET (sems_SRCS
AmAdvancedAudio.cpp
AmApi.cpp
AmArg.cpp
@@ -49,12 +49,9 @@
sems.cpp
)
-include_directories (${SEMS_SOURCE_DIR}/core/ampi)
-include_directories (${SEMS_SOURCE_DIR}/core/amci)
-configure_file( config.h.cmake ${SEMS_SOURCE_DIR}/core/config.h )
-add_executable (sems ${sems_SRCS})
-target_link_libraries(sems ${CMAKE_DL_LIBS} pthread stdc++ m)
+ADD_EXECUTABLE (sems ${sems_SRCS})
+TARGET_LINK_LIBRARIES(sems ${CMAKE_DL_LIBS} pthread stdc++ m)
-add_subdirectory (plug-in)
+ADD_SUBDIRECTORY(plug-in)
Modified: trunk/core/config.h
===================================================================
--- trunk/core/config.h 2009-03-03 08:27:52 UTC (rev 1291)
+++ trunk/core/config.h 2009-03-03 08:29:59 UTC (rev 1292)
@@ -1,7 +1,7 @@
#ifndef CONFIG_H
#define CONFIG_H
-#define SEMS_VERSION "1.1.0-pre"
+#define SEMS_VERSION "1.1.0-dev"
#define OS "Linux"
#define ARCH "32"
Deleted: trunk/core/config.h.cmake
===================================================================
--- trunk/core/config.h.cmake 2009-03-03 08:27:52 UTC (rev 1291)
+++ trunk/core/config.h.cmake 2009-03-03 08:29:59 UTC (rev 1292)
@@ -1,8 +0,0 @@
-#ifndef CONFIG_H
-#define CONFIG_H
-
-#cmakedefine SEMS_VERSION "@SEMS_VERSION@"
-#cmakedefine OS "@CMAKE_SYSTEM_NAME@"
-#cmakedefine ARCH "@ARCH@"
-
-#endif // CONFIG_H
\ No newline at end of file
Modified: trunk/core/plug-in/CMakeLists.txt
===================================================================
--- trunk/core/plug-in/CMakeLists.txt 2009-03-03 08:27:52 UTC (rev 1291)
+++ trunk/core/plug-in/CMakeLists.txt 2009-03-03 08:29:59 UTC (rev 1292)
@@ -1 +1,2 @@
-add_subdirectory (wav)
+ADD_SUBDIRECTORY (wav)
+ADD_SUBDIRECTORY (sipctrl)
Added: trunk/core/plug-in/sipctrl/CMakeLists.txt
===================================================================
--- trunk/core/plug-in/sipctrl/CMakeLists.txt 2009-03-03 08:27:52 UTC (rev
1291)
+++ trunk/core/plug-in/sipctrl/CMakeLists.txt 2009-03-03 08:29:59 UTC (rev
1292)
@@ -0,0 +1,25 @@
+set (sipctrl_SRCS
+ SipCtrlInterface.cpp
+ hash.cpp
+ hash_table.cpp
+ main.cpp
+ msg_fline.cpp
+ msg_hdrs.cpp
+ parse_common.cpp
+ parse_cseq.cpp
+ parse_from_to.cpp
+ parse_header.cpp
+ parse_uri.cpp
+ parse_via.cpp
+ resolver.cpp
+ sip_parser.cpp
+ sip_trans.cpp
+ trans_layer.cpp
+ transport.cpp
+ udp_trsp.cpp
+ wheeltimer.cpp
+)
+
+add_library(sipctrl SHARED ${sipctrl_SRCS})
+set_target_properties(sipctrl PROPERTIES PREFIX "")
+target_link_libraries(sipctrl ${CMAKE_DL_LIBS} pthread stdc++ m)
Property changes on: trunk/core/plug-in/sipctrl/CMakeLists.txt
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev