cmake_minimum_required(VERSION 3.0)
project(sipclient)

set(MAKE_DIR ../make)
include(${MAKE_DIR}/definitions.cmake)


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations -std=c++11")

set(SOURCE_FILES
  src/main.cpp
  src/useragent_signaling.cpp
  )

set(INCLUDE_DIRS
  include
  ${SIPUSERAGENT_INC_DIR}
  ${BOOST_INCLUDE_DIR}
  ${RESIP_DIR}
  )

include_directories(${INCLUDE_DIRS})


link_directories(${LIB_DIR} ${BOOST_LIB_DIR} ${RESIP_LIB_DIR})
#get_directory_property(OUT_VAR LINK_DIRECTORIES)
#message(STATUS "DIR: ${OUT_VAR}")

add_executable(sipclient ${SOURCE_FILES})


# linking
target_link_libraries(sipclient sipuseragent boost_system dum resip rutil)
cmake_minimum_required(VERSION 3.0)
project(sipclient)

set(MAKE_DIR ../make)
include(${MAKE_DIR}/definitions.cmake)


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations -std=c++11")

set(SOURCE_FILES ${GLOB_SRC_FILES})

set(INCLUDE_DIRS
  include
  ${SIPUSERAGENT_INC_DIR}
  ${BOOST_INCLUDE_DIR}
  ${RESIP_DIR}
  )

include_directories(${INCLUDE_DIRS})

link_directories(${LIB_DIR} ${BOOST_LIB_DIR} ${RESIP_LIB_DIR})

add_executable(sipclient ${SOURCE_FILES})

# linking
target_link_libraries(sipclient sipuseragent boost_system dum resip rutil)
Clean up on the CMakeList file.
Clean up on the CMakeList file.
