Changeset 346 in pacpusframework


Ignore:
Timestamp:
Jun 24, 2015, 11:42:01 AM (10 years ago)
Author:
DHERBOMEZ Gérald
Message:

In pacpusframework/trunk (version 0.2.x):

  • add the numbering version for installation
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusConfiguration.cmake

    r321 r346  
    1212# ========================================
    1313if(IS_BUILDING_PACPUS)
    14     set(PACPUS_INSTALL_DIR    ${CMAKE_INSTALL_PREFIX}   CACHE FILEPATH "Installation directory for the library")
     14        if(PACPUS_INSTALL_WITH_VERSION_NUMBER)
     15                pacpus_purge_backslash(PACPUS_INSTALL_DIR)
     16                set(PACPUS_INSTALL_DIR ${PACPUS_INSTALL_DIR}/${Pacpus_VERSION} )
     17        endif()
    1518    set(PACPUS_INSTALL_3RD    FALSE                     CACHE BOOL      "Installation of the 3rd party")
    1619endif()
  • trunk/scripts/build-msvc.bat

    r344 r346  
    4343set LOG4CXX_ROOT=%root_dir%\3rd\apache-log4cxx
    4444:: Initialize the build
    45 cmake .. -DPACPUS_INSTALL_DIR="%1" -DPACPUS_INSTALL_3RD=TRUE -DPACPUS_USE_LOG=TRUE
     45cmake .. -DPACPUS_INSTALL_DIR="%1" -DPACPUS_INSTALL_3RD=TRUE -DPACPUS_USE_LOG=TRUE -DPACPUS_INSTALL_WITH_VERSION_NUMBER=TRUE
    4646:: Build in debug and release
    4747REM msbuild Pacpus.sln /p:Configuration=Debug
Note: See TracChangeset for help on using the changeset viewer.