Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/CMakeLists.txt

    r2 r561  
    5656     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")
    5757     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)
    5959   endif (CMAKE_SYSTEM_NAME MATCHES Linux)
    6060
     
    116116   endif (GCC_IS_NEWER_THAN_4_1)
    117117
    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)
    119119      set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
    120120      set (KDE4_C_FLAGS "-fvisibility=hidden")
     
    138138          set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
    139139      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)
    141141      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)
    143143
    144144endif (CMAKE_COMPILER_IS_GNUCXX)
     
    150150set(PHONON_LIB_MAJOR_VERSION "4")
    151151set(PHONON_LIB_MINOR_VERSION "3")
    152 set(PHONON_LIB_PATCH_VERSION "1")
    153 set(PHONON_LIB_VERSION "${PHONON_LIB_MAJOR_VERSION}.3.1")
     152set(PHONON_LIB_PATCH_VERSION "")
     153set(PHONON_LIB_VERSION "${PHONON_LIB_MAJOR_VERSION}.")
    154154set(PHONON_LIB_SOVERSION ${PHONON_LIB_MAJOR_VERSION})
    155155
     
    178178set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
    179179
    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/")
     180if (WIN32)
     181    _set_fancy(EXEC_INSTALL_PREFIX         "."                                     "Base directory for executables and libraries")
     182else(WIN32)
     183    _set_fancy(EXEC_INSTALL_PREFIX         "${CMAKE_INSTALL_PREFIX}"              "Base directory for executables and libraries")
     184endif(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")
    182187_set_fancy(BIN_INSTALL_DIR             "${EXEC_INSTALL_PREFIX}/bin"                "The install dir for executables (default ${EXEC_INSTALL_PREFIX}/bin)")
    183188_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")
    185189_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)")
    186190_set_fancy(ICON_INSTALL_DIR            "${SHARE_INSTALL_PREFIX}/icons"             "The icon install dir (default ${SHARE_INSTALL_PREFIX}/share/icons/)")
     
    197201   set(INSTALL_TARGETS_DEFAULT_ARGS  ${INSTALL_TARGETS_DEFAULT_ARGS}
    198202                                     BUNDLE DESTINATION "${BUNDLE_INSTALL_DIR}" )
     203
     204
    199205endif(APPLE)
    200206
     
    250256
    251257
    252 add_subdirectory(cmake)
    253258add_subdirectory(phonon)
    254259add_subdirectory(includes)
Note: See TracChangeset for help on using the changeset viewer.