[eigen] Why do we overwrite CMAKE_BUILD_TYPE ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Why do we overwrite CMAKE_BUILD_TYPE ?
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Thu, 21 Oct 2010 14:09:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=VaC+FVj3EZk0UzEVowe9RTaJIxs+hJXTPlrIlKkdwI8=; b=fpUug+xoKpQhcywjFrXfUYX1JCzYd2L/IyS3AsYC5bLbaDWiyWRMLgtajAE4y6e84e 1U5tGYXbEojkE98w2VcVEiBuWC0GC7YoxMQ9VE4ablW1fF7a8GT9lPVTDYN2YTR+FiAI ZK7E3Rwrk1FF90aZpN9M95O6Q92K/XgeN0mIo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pKH2gEb9ZPYRLl9DR/chrIT3PNUKLSJdvsHrPGdyz1SzJXuD4t+teLj07tox4ibDUl AnBZjThLKcy9WR+JVhl3oH7DIVRMqby3B/pgOjhsD/S1dsNxDENu5t0+mcWcPh58rBal msastPnWMjBc+zUIxZFyzBQ1tUBZ9c45YeERw=
We have these lines in our CMakeLists.txt
string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_tolower)
if(cmake_build_type_tolower STREQUAL "debug")
set(CMAKE_BUILD_TYPE "Debug")
else()
set(CMAKE_BUILD_TYPE "Release")
endif()
IMHO we can safely remove this code.
- Hauke