Skip to content
This repository
Newer
Older
100644 66 lines (52 sloc) 1.561 kb
e2db13c7 »
2011-05-19 autocreated firebreath project
1 #/**********************************************************\
2 #
3 # Auto-generated CMakeLists.txt for the linphone-js project
4 #
5 #\**********************************************************/
6
7 # Written to work with cmake 2.6
8 cmake_minimum_required (VERSION 2.6)
9 set (CMAKE_BACKWARDS_COMPATIBILITY 2.6)
10
11 Project(${PLUGIN_NAME})
12
13 file (GLOB GENERAL RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
14 [^.]*.cpp
15 [^.]*.h
16 [^.]*.cmake
17 )
18
e1ae5346 »
2011-05-30 changed config so that we can build it now
19 INCLUDE_DIRECTORIES(${PLUGIN_INCLUDE_DIRS})
20
21
22 # add linphone core includes
23 SET(LINPHONE_CORE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/3rdParty/linphone/")
24 INCLUDE_DIRECTORIES(
25 ${LINPHONE_CORE_PATH}/oRTP/include
26 ${LINPHONE_CORE_PATH}/mediastreamer2/include
27 ${LINPHONE_CORE_PATH}/coreapi
28 ${LINPHONE_CORE_PATH}/
29 )
e2db13c7 »
2011-05-19 autocreated firebreath project
30
31 # Generated files are stored in ${GENERATED} by the project configuration
32 SET_SOURCE_FILES_PROPERTIES(
33 ${GENERATED}
34 PROPERTIES
35 GENERATED 1
36 )
37
38 SOURCE_GROUP(Generated FILES
39 ${GENERATED}
40 )
41
42 SET( SOURCES
43 ${GENERAL}
44 ${GENERATED}
45 )
46
e1ae5346 »
2011-05-30 changed config so that we can build it now
47 #SET(CPACK_GENERATOR "STGZ;TGZ;TZ;ZIP")
48 SET(CPACK_GENERATOR "ZIP")
49 SET(CPACK_PACKAGE_NAME "linphone-js")
50 SET(CPACK_PACKAGE_FILE_NAME "linphone-js")
51
e2db13c7 »
2011-05-19 autocreated firebreath project
52 # This will include Win/projectDef.cmake, X11/projectDef.cmake, Mac/projectDef
53 # depending on the platform
54 include_platform()
e1ae5346 »
2011-05-30 changed config so that we can build it now
55
56 #message("Will generate ${CPACK_GENERATOR}")
57
58 INSTALL(TARGETS ${PLUGIN_NAME}
59 DESTINATION lib/mozilla/plugins
60 # RUNTIME DESTINATION bin
61 # LIBRARY DESTINATION lib
62 # ARCHIVE DESTINATION lib
63 )
64
65 # must be last one, because it overwrites variables otherwise
66 INCLUDE(CPack)
Something went wrong with that request. Please try again.