Changeset 561 for trunk/src/3rdparty/phonon/CMakeLists.txt
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/3rdparty/phonon/CMakeLists.txt (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/3rdparty/phonon/CMakeLists.txt
r2 r561 56 56 set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") 57 57 set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common") 58 add_definitions (-D_BSD_SOURCE )58 add_definitions (-D_BSD_SOURCE) 59 59 endif (CMAKE_SYSTEM_NAME MATCHES Linux) 60 60 … … 116 116 endif (GCC_IS_NEWER_THAN_4_1) 117 117 118 if (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR )118 if (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR) 119 119 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") 120 120 set (KDE4_C_FLAGS "-fvisibility=hidden") … … 138 138 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") 139 139 endif (GCC_IS_NEWER_THAN_4_2) 140 else (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR )140 else (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR) 141 141 set (__KDE_HAVE_GCC_VISIBILITY 0) 142 endif (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR )142 endif (__KDE_HAVE_GCC_VISIBILITY AND GCC_IS_NEWER_THAN_4_1 AND NOT _GCC_COMPILED_WITH_BAD_ALLOCATOR) 143 143 144 144 endif (CMAKE_COMPILER_IS_GNUCXX) … … 150 150 set(PHONON_LIB_MAJOR_VERSION "4") 151 151 set(PHONON_LIB_MINOR_VERSION "3") 152 set(PHONON_LIB_PATCH_VERSION " 1")153 set(PHONON_LIB_VERSION "${PHONON_LIB_MAJOR_VERSION}. 3.1")152 set(PHONON_LIB_PATCH_VERSION "") 153 set(PHONON_LIB_VERSION "${PHONON_LIB_MAJOR_VERSION}.") 154 154 set(PHONON_LIB_SOVERSION ${PHONON_LIB_MAJOR_VERSION}) 155 155 … … 178 178 set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) 179 179 180 _set_fancy(EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" "Base directory for executables and libraries") 181 _set_fancy(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share" "Base directory for files which go to share/") 180 if (WIN32) 181 _set_fancy(EXEC_INSTALL_PREFIX "." "Base directory for executables and libraries") 182 else(WIN32) 183 _set_fancy(EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" "Base directory for executables and libraries") 184 endif(WIN32) 185 _set_fancy(SHARE_INSTALL_PREFIX "${EXEC_INSTALL_PREFIX}/share" "Base directory for files which go to share/") 186 _set_fancy(INCLUDE_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/include" "The subdirectory to the header prefix") 182 187 _set_fancy(BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" "The install dir for executables (default ${EXEC_INSTALL_PREFIX}/bin)") 183 188 _set_fancy(LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" "The subdirectory relative to the install prefix where libraries will be installed (default is ${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX})") 184 _set_fancy(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" "The subdirectory to the header prefix")185 189 _set_fancy(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4" "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/kde4)") 186 190 _set_fancy(ICON_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/icons" "The icon install dir (default ${SHARE_INSTALL_PREFIX}/share/icons/)") … … 197 201 set(INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS} 198 202 BUNDLE DESTINATION "${BUNDLE_INSTALL_DIR}" ) 203 204 199 205 endif(APPLE) 200 206 … … 250 256 251 257 252 add_subdirectory(cmake)253 258 add_subdirectory(phonon) 254 259 add_subdirectory(includes)
Note:
See TracChangeset
for help on using the changeset viewer.
