hardinfo

Check-in [63b2ddfb5a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:upstream: fixed autodetection of debug builds
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:63b2ddfb5ab5c6b2cc5a10ffdef206bf1972176e
User & Date: jamesbond 2014-06-06 18:47:57
Context
2014-06-06
18:51
reverse the last two commits - missed on in between Closed-Leaf check-in: e3dde4b5ef user: jamesbond tags: trunk
18:47
upstream: fixed autodetection of debug builds check-in: 63b2ddfb5a user: jamesbond tags: trunk
18:47
upstream: right usage of GNUinstall dirs, and added module if distros not have yet check-in: dc9cdd1036 user: jamesbond tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to CMakeLists.txt.

1
2
3
4
5
6
7




8
9
10
11
12
13
14
project(HardInfo)
cmake_minimum_required(VERSION 2.6)

set(HARDINFO_VERSION "0.5.2pre")

SET( CMAKE_MODULE_PATH  "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
include(GNUInstallDirs)





if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux")
	set(HARDINFO_OS "linux")
else()
	message(FATAL_ERROR "Unsupported operating system: ${CMAKE_HOST_SYSTEM_NAME}")
endif()








>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project(HardInfo)
cmake_minimum_required(VERSION 2.6)

set(HARDINFO_VERSION "0.5.2pre")

SET( CMAKE_MODULE_PATH  "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
include(GNUInstallDirs)

if(${CMAKE_BUILD_TYPE} MATCHES [Dd]ebug)
  set(HARDINFO_DEBUG 1)
endif()

if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux")
	set(HARDINFO_OS "linux")
else()
	message(FATAL_ERROR "Unsupported operating system: ${CMAKE_HOST_SYSTEM_NAME}")
endif()