summaryrefslogtreecommitdiffstats
path: root/Modules/CheckTypeSize.cmake
Commit message (Collapse)AuthorAgeFilesLines
* New CheckTypeSize for OS X Universal BinariesBrad King2009-12-171-89/+163
| | | | | | We re-implement this module to support architecture-dependent type sizes. In the mixed-size case we generate C preprocessor code to select the detected type size for each architecture.
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* ENH: allow users to turn off extra checksBill Hoffman2008-04-251-4/+10
|
* ENH: make sure all required headers are checked before checking type sizeBill Hoffman2008-04-251-1/+13
|
* STYLE: remove unused CheckTypeSize.c.inAlexander Neundorf2007-08-101-1/+1
| | | | | | | | ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing the binary image of a 16bit integer array, tested on Linux x86, Intel Mac and Sun (big endian) Alex
* STYLE: remove out commented codeAlexander Neundorf2007-06-071-7/+5
| | | | Alex
* ENH: determine typesize by compiling a file and reading strings from the ↵Alexander Neundorf2007-06-041-54/+72
| | | | | | | | | compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
* STYLE: remove debug output, fix indentationAlexander Neundorf2007-05-241-52/+50
| | | | | | | the tests run again successfully, but since CheckTypeSize will switch to a TRY_COMPILE soon I will look at it again after this change Alex
* COMP: try to fix the test failures on dash2Alexander Neundorf2007-05-241-0/+2
| | | | Alex
* ENH: Use IF(NOT DEFINED) check to short-circuit size test.Brad King2007-05-171-2/+2
|
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-5/+5
|
* ENH: Added CMAKE_REQUIRED_DEFINITIONS and CMAKE_REQUIRED_INCLUDES to the ↵Brad King2006-02-141-1/+17
| | | | interface.
* ENH: fix check type sizeBill Hoffman2006-01-231-0/+1
|
* ENH: fix checktypesizeBill Hoffman2006-01-131-1/+2
|
* ENH: move define into configured file and do not use the command lineBill Hoffman2006-01-131-2/+2
|
* ENH: put CmakeTmp into CMakeFilesKen Martin2006-01-121-3/+3
|
* ENH: some style fixes for the bookKen Martin2005-12-151-1/+1
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-5/+4
|
* ENH: put cmake files intoa CMakeFiles subdir to clean up bin treeKen Martin2005-07-291-2/+2
|
* ENH: Add option of adding random include files before doing CheckTypeSizeAndy Cedilnik2004-10-051-2/+10
|
* ENH: support STDDEF and cleanupAndy Cedilnik2004-05-031-7/+6
|
* ENH: Documentation fixAndy Cedilnik2003-10-131-0/+1
|
* ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. ↵Andy Cedilnik2003-08-081-0/+2
| | | | Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log
* ENH: Extra new line after outputAndy Cedilnik2003-07-171-1/+1
|
* ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace ↵Andy Cedilnik2003-07-111-11/+10
| | | | MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things
* BUG: Should test HAVE_<VARIABLE> before repeating test, not just whether ↵Brad King2003-03-061-2/+2
| | | | <VARIABLE> is set.
* minor fix to backw compatKen Martin2003-01-091-0/+2
|
* Remove debugAndy Cedilnik2003-01-041-1/+0
|
* Fix problems with required flagsAndy Cedilnik2003-01-041-2/+3
|
* Add required flagsAndy Cedilnik2003-01-041-1/+2
|
* To prevent cmake from breaking up arguments, put quotes around themAndy Cedilnik2003-01-011-1/+1
|
* Add a way to add custom libraries to the mixAndy Cedilnik2003-01-011-0/+5
|
* ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency ↵Brad King2002-12-301-0/+34
with the macro name that is defined by the module.