Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8337


Ignore:
Timestamp:
Apr 26, 2011, 6:33:00 PM (14 years ago)
Author:
rgrieder
Message:

Defined CMake variable LINUX.

Location:
code/branches/kicklib2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/CMakeLists.txt

    r8328 r8337  
    2323 #    Configures some basics and controls the configuration scripts
    2424 #
     25
     26# Defined LINUX
     27IF(UNIX AND NOT APPLE)
     28  SET(LINUX TRUE)
     29ENDIF()
    2530
    2631IF(WIN32)
  • code/branches/kicklib2/cmake/LibraryConfigTardis.cmake

    r8283 r8337  
    2525 #
    2626
    27 IF(UNIX AND NOT APPLE)
    28   IF(EXISTS /etc/hostname)
    29     FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1)
    30     IF(${HOSTNAME} MATCHES "^tardis-[a-z][0-9][0-9]$")
    31       SET (TARDIS ON)
    32     ENDIF()
     27IF(LINUX AND EXISTS /etc/hostname)
     28  FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1)
     29  IF(${HOSTNAME} MATCHES "^tardis-[a-z][0-9][0-9]$")
     30    SET (TARDIS ON)
    3331  ENDIF()
    3432ENDIF()
  • code/branches/kicklib2/contrib/CMakeLists.txt

    r8311 r8337  
    2424 #
    2525
    26 IF(UNIX AND NOT APPLE)
     26IF(LINUX)
    2727  INSTALL(FILES orxonox.desktop     DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
    2828  #INSTALL(FILES orxonox.manpage.xml DESTINATION /usr/man)
  • code/branches/kicklib2/src/OrxonoxConfig.cmake

    r8318 r8337  
    5353# Platforms
    5454SET(ORXONOX_PLATFORM_WINDOWS ${WIN32})
    55 SET(ORXONOX_PLATFORM_APPLE ${APPLE})
    56 SET(ORXONOX_PLATFORM_UNIX ${UNIX})
    57 IF(UNIX AND NOT APPLE)
    58   SET(ORXONOX_PLATFORM_LINUX TRUE)
    59 ENDIF()
     55SET(ORXONOX_PLATFORM_APPLE   ${APPLE})
     56SET(ORXONOX_PLATFORM_UNIX    ${UNIX})
     57SET(ORXONOX_PLATFORM_LINUX   ${LINUX})
    6058
    6159# Check __forceinline
Note: See TracChangeset for help on using the changeset viewer.