Mercurial > irccd
diff cmake/IrccdSystem.cmake @ 374:e9adab218027
Misc: various code cleanup
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 08 Dec 2016 20:06:38 +0100 |
parents | 6635b9187d71 |
children | c6fbb6e0e06d |
line wrap: on
line diff
--- a/cmake/IrccdSystem.cmake Thu Dec 08 13:17:26 2016 +0100 +++ b/cmake/IrccdSystem.cmake Thu Dec 08 20:06:38 2016 +0100 @@ -22,9 +22,10 @@ include(CheckSymbolExists) include(CheckTypeSize) -# --------------------------------------------------------- -# Global compile flags -# --------------------------------------------------------- +# +# Global compile flags. +# ------------------------------------------------------------------- +# # # Recent versions of CMake has nice C++ feature detection for modern @@ -77,9 +78,10 @@ file(MAKE_DIRECTORY ${IRCCD_FAKEROOTDIR}) endif () -# --------------------------------------------------------- -# System identification -# --------------------------------------------------------- +# +# System identification. +# ------------------------------------------------------------------- +# if (WIN32) set(IRCCD_SYSTEM_WINDOWS TRUE) @@ -95,9 +97,10 @@ set(IRCCD_SYSTEM_LINUX TRUE) endif () -# --------------------------------------------------------- -# Portability requirements -# --------------------------------------------------------- +# +# Portability requirements. +# ------------------------------------------------------------------- +# check_type_size(int8_t HAVE_INT8) check_type_size(uint8_t HAVE_UINT8)