Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Bluetooth / CMakeLists.txt
1 set(TARGET_NAME "wrt-plugins-tizen-1.0-bluetooth")
2
3 include_directories(${INCLUDES_PLATFORM_IMPLEMENTATION_BLUETOOTH})
4
5 #set(LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH
6 #       ${LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH}
7 #)
8
9
10 set(SRCS 
11         ${SRCS_PLATFORM_IMPLEMENTATION_BLUETOOTH}       
12         ${SRCS_PLATFORM_API_BLUETOOTH}
13         ../Common/JSTizenException.cpp
14         ../Common/TizenExceptionData.cpp
15         ../Common/JSTizenExceptionFactory.cpp
16         plugin_initializer.cpp
17         plugin_config.cpp
18         BluetoothAdapterListener.cpp  
19         BluetoothSocketListener.cpp   
20         BluetoothDeviceManagerListener.cpp
21         BluetoothClass.cpp 
22         BluetoothMultiCallback.cpp
23         BluetoothConverter.cpp
24         JSBluetoothAdapter.cpp  
25         JSBluetoothDevice.cpp  
26         JSBluetoothClass.cpp    
27         JSBluetoothClassDeviceMajor.cpp 
28         JSBluetoothClassDeviceMinor.cpp 
29         JSBluetoothClassDeviceService.cpp
30         JSBluetoothServiceHandler.cpp
31         JSBluetoothManager.cpp 
32         JSBluetoothSocket.cpp
33         JSBluetoothDevice.cpp
34 )
35
36 add_library(${TARGET_NAME} SHARED ${SRCS})
37 target_link_libraries(${TARGET_NAME}
38         ${LIBS_COMMON}
39         ${LIBS_PLATFORM_IMPLEMENTATION_BLUETOOTH}
40 )
41
42 INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION tizen-1.0-bluetooth)
43 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION tizen-1.0-bluetooth)