set(TARGET_NAME "wrt-plugins-tizen-1.0-bluetooth") include_directories(${INCLUDES_PLATFORM_IMPLEMENTATION_BLUETOOTH}) #set(LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH # ${LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH} #) set(SRCS ${SRCS_PLATFORM_IMPLEMENTATION_BLUETOOTH} ${SRCS_PLATFORM_API_BLUETOOTH} ../Common/JSTizenException.cpp ../Common/TizenExceptionData.cpp ../Common/JSTizenExceptionFactory.cpp plugin_initializer.cpp plugin_config.cpp BluetoothAdapterListener.cpp BluetoothSocketListener.cpp BluetoothDeviceManagerListener.cpp BluetoothClass.cpp BluetoothMultiCallback.cpp BluetoothConverter.cpp JSBluetoothAdapter.cpp JSBluetoothDevice.cpp JSBluetoothClass.cpp JSBluetoothClassDeviceMajor.cpp JSBluetoothClassDeviceMinor.cpp JSBluetoothClassDeviceService.cpp JSBluetoothServiceHandler.cpp JSBluetoothManager.cpp JSBluetoothSocket.cpp JSBluetoothDevice.cpp ) add_library(${TARGET_NAME} SHARED ${SRCS}) target_link_libraries(${TARGET_NAME} ${LIBS_COMMON} ${LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH} ) INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION tizen-1.0-bluetooth) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION tizen-1.0-bluetooth)