more on cmake build system

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1292 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent 8a857f6803
commit b66479d68c

@ -1,5 +1,5 @@
set (sems_SRCS
SET (sems_SRCS
AmAdvancedAudio.cpp
AmApi.cpp
AmArg.cpp
@ -49,12 +49,9 @@ set (sems_SRCS
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)

@ -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"

@ -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

@ -1 +1,2 @@
add_subdirectory (wav)
ADD_SUBDIRECTORY (wav)
ADD_SUBDIRECTORY (sipctrl)

@ -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)
Loading…
Cancel
Save