Changeset 91 in pacpusframework for trunk/CMakeLists.txt


Ignore:
Timestamp:
05/19/13 12:32:48 (11 years ago)
Author:
DHERBOMEZ Gérald
Message:

Improvement of the build system to avoid some workarounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r64 r91  
    1515# ========================================
    1616set(PACPUS_MAJOR_VERSION 0)
    17 set(PACPUS_MINOR_VERSION 1)
    18 set(PACPUS_PATCH_VERSION 0)
     17set(PACPUS_MINOR_VERSION 0)
     18set(PACPUS_PATCH_VERSION 1)
    1919set(PACPUS_VERSION
    2020    "${PACPUS_MAJOR_VERSION}.${PACPUS_MINOR_VERSION}.${PACPUS_PATCH_VERSION}")
     
    2323# CMake variables
    2424# ========================================
     25set(IS_BUILDING_PACPUS      TRUE)
    2526set(PACPUS_ROOT_DIR         ${CMAKE_SOURCE_DIR})
    2627set(PACPUS_3RD_PARTY_DIR    ${PACPUS_ROOT_DIR}/3rd)
     
    3031set(PACPUS_SCRIPTS_DIR      ${PACPUS_ROOT_DIR}/scripts)
    3132set(PACPUS_SOURCE_DIR       ${PACPUS_ROOT_DIR}/src)
    32 set(IS_BUILDING_PACPUS      TRUE)
     33
    3334
    3435# ========================================
     
    8485# ========================================
    8586include(${PACPUS_CMAKE_DIR}/PacpusInstall.cmake)
     87set( ENV{PACPUS_ROOT} ${PACPUS_INSTALL_DIR} )
    8688
    8789# ========================================
     
    114116pacpus_info("  Result:")
    115117pacpus_info("    Install directory:" ${PACPUS_INSTALL_DIR})
     118pacpus_info("    Install with version number:" ${PACPUS_INSTALL_WITH_VERSION_NUMBER})
    116119pacpus_info("")
    117120pacpus_info("  Options:")
     
    121124pacpus_info("")
    122125if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
    123     message(WARNING "The src directory is the same as bin directory. \"make clean\" may damage the source tree")
     126    message(WARNING "The source directory is the same as build directory. \"make clean\" may damage the source tree")
    124127endif()
Note: See TracChangeset for help on using the changeset viewer.