Changeset 267 in pacpusframework for trunk


Ignore:
Timestamp:
Mar 13, 2014, 10:41:15 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: formatting.

Location:
trunk/cmake
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusDependencies.cmake

    r241 r267  
    1919get_filename_component(QT_CMAKE_DIR "${QT_CMAKE_DIR}" ABSOLUTE)
    2020if(DEBUG)
    21         message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'")
     21    message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'")
    2222endif()
    2323list(APPEND CMAKE_PREFIX_PATH
     
    2525)
    2626if(WIN32)
    27         set(WINSDK_LIB "$ENV{WINSDK_LIB}" CACHE PATH "Directory of Windows Development Kit, should contain glu32.lib.")
    28         if("${WINSDK_LIB}" STREQUAL "")
    29                 message(STATUS "Environment variable 'WINSDK_LIB' should be set to something like 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'")
    30         endif()
    31         if(DEBUG)
    32                 message(STATUS "\$ENV{WINSDK_LIB} = '$ENV{WINSDK_LIB}'")
    33                 message(STATUS "\${WINSDK_LIB} = '${WINSDK_LIB}'")
    34         endif()
     27    set(WINSDK_LIB "$ENV{WINSDK_LIB}" CACHE PATH "Directory of Windows Development Kit, should contain glu32.lib.")
     28    if("${WINSDK_LIB}" STREQUAL "")
     29        message(STATUS "Environment variable 'WINSDK_LIB' should be set to something like 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'")
     30    endif()
     31    if(DEBUG)
     32        message(STATUS "\$ENV{WINSDK_LIB} = '$ENV{WINSDK_LIB}'")
     33        message(STATUS "\${WINSDK_LIB} = '${WINSDK_LIB}'")
     34    endif()
    3535    list(APPEND CMAKE_PREFIX_PATH
    3636        ${WINSDK_LIB}
     
    3838endif()
    3939if(DEBUG)
    40         message(STATUS "\${CMAKE_PREFIX_PATH} = '${CMAKE_PREFIX_PATH}'")
     40    message(STATUS "\${CMAKE_PREFIX_PATH} = '${CMAKE_PREFIX_PATH}'")
    4141endif()
    4242
  • trunk/cmake/PacpusInstall.cmake

    r251 r267  
    1313    DIRECTORY ${PACPUS_CMAKE_DIR}
    1414    DESTINATION ${PACPUS_INSTALL_DIR}
    15         PATTERN "in" EXCLUDE
     15    PATTERN "in" EXCLUDE
    1616)
    1717configure_file("${PACPUS_CMAKE_DIR}/in/${PROJECT_NAME}Config.cmake.in" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}Config.cmake" @ONLY)
  • trunk/cmake/PacpusUtilities.cmake

    r265 r267  
    309309        PROPERTIES DEBUG_POSTFIX "_d"
    310310    )
    311         # Add manifest to the target (Windows SxS)
    312         # TODO: do the same for executable (change #2 to #1)
    313         #if(MSVC)
    314         #       pacpus_info("\${CMAKE_CURRENT_SOURCE_DIR}/\${target}.manifest = ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")
    315         #       if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest")
    316         #               pacpus_info("Exists: ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")
    317         #               add_custom_command(
    318         #                       TARGET ${target}
    319         #                       POST_BUILD
    320         #                       COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest\" -outputresource:\"$(TargetDir)\\$(TargetFileName)\"\;\#2
    321         #                       COMMENT "Adding custom manifest containing MSVCRT80 dependency..."
    322         #               )
    323         #       endif()
    324         #endif()
     311    # Add manifest to the target (Windows SxS)
     312    # TODO: do the same for executable (change #2 to #1)
     313    #if(MSVC)
     314    #    pacpus_info("\${CMAKE_CURRENT_SOURCE_DIR}/\${target}.manifest = ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")
     315    #    if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest")
     316    #        pacpus_info("Exists: ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")
     317    #        add_custom_command(
     318    #            TARGET ${target}
     319    #            POST_BUILD
     320    #            COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest\" -outputresource:\"$(TargetDir)\\$(TargetFileName)\"\;\#2
     321    #            COMMENT "Adding custom manifest containing MSVCRT80 dependency..."
     322    #        )
     323    #    endif()
     324    #endif()
    325325endfunction()
    326326
  • trunk/cmake/igep_toolchain.cmake

    r162 r267  
    77
    88if(EXISTS "/opt/poky/1.3/sysroots/x86_64-pokysdk-linux")#64 bits
    9         SET(CMAKE_C_COMPILER   /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc)
    10         SET(CMAKE_CXX_COMPILER /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++)
     9    SET(CMAKE_C_COMPILER   /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc)
     10    SET(CMAKE_CXX_COMPILER /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++)
    1111        SET(CMAKE_LINKER       /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld)
    1212        SET(CMAKE_AR           /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-ar)
    1313        SET(QT_QMAKE_EXECUTABLE /opt/poky/1.3/sysroots/x86_64-pokysdk-linux/usr/bin/qmake2)
    1414elseif(EXISTS "/opt/poky/1.3/sysroots/i686-pokysdk-linux")#32 bits
    15         SET(CMAKE_C_COMPILER   /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc)
    16         SET(CMAKE_CXX_COMPILER /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++)
     15    SET(CMAKE_C_COMPILER   /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc)
     16    SET(CMAKE_CXX_COMPILER /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++)
    1717        SET(CMAKE_LINKER       /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld)
    1818        SET(CMAKE_AR           /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-ar)
Note: See TracChangeset for help on using the changeset viewer.