Changeset 51 in pacpusframework for trunk


Ignore:
Timestamp:
Jan 9, 2013, 9:33:34 AM (12 years ago)
Author:
Marek Kurdej
Message:

CMake: added solution folders.
Dependencies: changed Boost 1.52 to 1.49.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/DEPENDENCIES.txt

    r39 r51  
    1212========================================
    1313Apache log4cxx 0.10.0 (patched for MSVC)
    14 Boost 1.52 (include-only headers)
     14Boost 1.49 (include-only headers)
    1515Qt 4.8.4 (pass to Qt 5.0.0)
    1616
  • trunk/cmake/PacpusConfiguration.cmake

    r50 r51  
    2222set(PACPUS_INSTALL_3RD  FALSE CACHE BOOL "Installation of the 3rd party")
    2323set(PACPUS_BUILD_DOC    FALSE CACHE BOOL "Whether build the documentation - requires Doxygen")
     24set(PACPUS_USE_SOLUTION_FOLDERS  FALSE CACHE BOOL "Use solution folders to classify projects, works in MS Visual Studio")
     25
     26if(PACPUS_USE_SOLUTION_FOLDERS)
     27    if(CMAKE_VERSION VERSION_GREATER "2.8.0")
     28        set_property(GLOBAL PROPERTY USE_FOLDERS ON)
     29    else()
     30        message(AUTHOR_WARNING "Folders are only supported with CMake 2.8.0 and newer, and MSVC 2005 and newer except for 2005/2008/2010 Express Edition")
     31    endif()
     32endif(PACPUS_USE_SOLUTION_FOLDERS)
  • trunk/cmake/PacpusDependencies.cmake

    r50 r51  
    2525# Do not use compiled modules, include-only headers.
    2626# ========================================
    27 find_package(Boost 1.52.0 REQUIRED)
     27find_package(Boost 1.49.0 REQUIRED)
    2828list(APPEND PACPUS_DEPENDENCIES_INC ${Boost_INCLUDE_DIRS})
    2929
  • trunk/cmake/PacpusUtilities.cmake

    r50 r51  
    200200# ========================================
    201201function(pacpus_folder target folder_name)
    202     if(PACPUS_USE_FOLDERS AND MSVC)
     202    if(PACPUS_USE_SOLUTION_FOLDERS AND MSVC)
    203203        set_target_properties(${target}
    204204            PROPERTIES FOLDER ${folder_name}
Note: See TracChangeset for help on using the changeset viewer.