diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-18 05:59:19 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-18 05:59:19 +0000 |
commit | 152e09a14d01c36e50d324b6cd9333ad9d238a55 (patch) | |
tree | f091358e923ebd7ed9d6fdfe2d3f4c45274a3db3 /cmake | |
parent | b155789aa7070659333a5ea629976ce9282bedbe (diff) |
remove long long, long double, unsigned, short, char, bool types.
Keep only int, float, double, complex<T>.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/CheckLongDouble.cmake | 25 | ||||
-rw-r--r-- | cmake/modules/CheckLongLong.cmake | 18 |
2 files changed, 0 insertions, 43 deletions
diff --git a/cmake/modules/CheckLongDouble.cmake b/cmake/modules/CheckLongDouble.cmake deleted file mode 100644 index 39263f4ab..000000000 --- a/cmake/modules/CheckLongDouble.cmake +++ /dev/null @@ -1,25 +0,0 @@ -INCLUDE(CheckCXXSourceCompiles) - -MACRO (CHECK_LONG_DOUBLE _RESULT) - -SET(_CHECK_LONG_DOUBLE_SOURCE_CODE " - -#include <cmath> - -int main(int argc, char *argv[]) -{ - long double ld = static_cast<long double>(1); - sqrt(ld); - cos(ld); - sin(ld); - exp(ld); - log(ld); - fabs(ld); - return 0; -} - -") - -CHECK_CXX_SOURCE_COMPILES("${_CHECK_LONG_DOUBLE_SOURCE_CODE}" ${_RESULT}) - -ENDMACRO (CHECK_LONG_DOUBLE) diff --git a/cmake/modules/CheckLongLong.cmake b/cmake/modules/CheckLongLong.cmake deleted file mode 100644 index d86678160..000000000 --- a/cmake/modules/CheckLongLong.cmake +++ /dev/null @@ -1,18 +0,0 @@ -INCLUDE(CheckCXXSourceCompiles) - -MACRO (CHECK_LONG_LONG _RESULT) - -SET(_CHECK_LONG_LONG_SOURCE_CODE " - -int main(int argc, char *argv[]) -{ - long long ll = static_cast<long long>(0); - long long int lli = static_cast<long long int>(0); - return 0; -} - -") - -CHECK_CXX_SOURCE_COMPILES("${_CHECK_LONG_LONG_SOURCE_CODE}" ${_RESULT}) - -ENDMACRO (CHECK_LONG_LONG) |