Alexander Neundorf
e10e3bc86e
ENH: add compiler id for IAR compiler ( http://www.iar.com/ )
...
ENH: don't run endian test again if the variable is already set
Alex
2007-05-24 08:33:05 -04:00
Brad King
2d051a6709
ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z].
2007-05-23 11:00:54 -04:00
Alexander Neundorf
6e2fd2c2ca
BUG: now the toolchain file is configured into the buildtree, otherwise e.g.
...
CMAKE_SOURCE_DIR can't be used there
ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they
were the preprocessor produced:
9 "test.c"
static char const info_compiler[] = "INFO:compiler["
# 40 "test.c"
""
"]";
and the mixing of the preprocessing directives and the string constants
didn't work.
Alex
2007-05-22 12:48:16 -04:00
Alexander Neundorf
6be930f0cf
STYLE: move the two CMAKE_SHARED_LIBRARYC/CXX_FLAGS for gcc from
...
CMakeGenericSystem.cmake to gcc.cmake
Alex
2007-05-22 09:15:00 -04:00
Alexander Neundorf
71359f5b9d
STYLE: use a separate source file for generating CMakeSystem.cmake if CMAKE_TOOLCHAIN_FILE is used
...
Alex
2007-05-21 11:26:40 -04:00
Alexander Neundorf
c8dd1caff9
BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER but it can't
...
be found in the path
Alex
2007-05-21 10:58:04 -04:00
Alexander Neundorf
3b4aa3bf35
BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
...
-also generate the fortran test with the kdevelop generator
Alex
2007-05-21 10:15:42 -04:00
Brad King
daca282db4
BUG: Use @ONLY substitution to configure CMakeSystem.cmake.
2007-05-20 10:08:38 -04:00
Alexander Neundorf
a18d286635
ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from
...
cmInstallTargetGenerator.cxx to Darwin.cmake
Alex
2007-05-18 11:57:29 -04:00
Brad King
92c0f41251
ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories.
2007-05-18 11:36:23 -04:00
Alexander Neundorf
15a7414a60
COMP: if a new cmake runs on an old build tree, set CMAKE_LINKER to link to make it link
...
Alex
2007-05-18 10:55:35 -04:00
Alexander Neundorf
891f2130cf
COMP: fix link rules with nmake, the linker command has to be converted to shortpath form for nmake
...
Alex
2007-05-18 10:32:22 -04:00
Alexander Neundorf
d9bbc3f45f
STYLE: fdcorrect comments about FC/CC
...
Alex
2007-05-18 09:16:07 -04:00
Brad King
8780da000a
BUG: If the Fortran CompilerId source fails to compile it should not be a failure. It is only expected to work for Fortran90 compilers.
2007-05-18 09:08:49 -04:00
Alexander Neundorf
ba2988e4c5
ENH: fail if install_name_tool wasn't found
...
Alex
2007-05-17 16:49:31 -04:00
Brad King
58debfd6bd
ENH: Use IF(NOT DEFINED) check to short-circuit size test.
2007-05-17 15:17:45 -04:00
Alexander Neundorf
61d3444f93
ENH: merge CMake-CrossCompileBasic to HEAD
...
-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
2007-05-17 13:20:44 -04:00
Bill Hoffman
871f7cf222
ENH: fix up compiler id to be more robust
2007-05-17 10:07:51 -04:00
Bill Hoffman
0c7130905d
BUG: make sure this thing compiles on 64 bit machines
2007-05-17 08:38:07 -04:00
Brad King
e1260b8468
ENH: Enabled preprocessor make rules for Watcom.
2007-05-16 13:26:47 -04:00
Brad King
93b94ce443
STYLE: Added basic usage documentation.
2007-05-15 10:23:40 -04:00
Bill Hoffman
9323a27989
ENH: initial support for creation of frameworks on Mac
2007-05-08 10:32:54 -04:00
Brad King
96232d4052
BUG: Detect debian with existence of /etc/debian_version so things work in a chroot install. This is suggested in bug#4805.
2007-05-07 18:17:32 -04:00
Brad King
44ab336a0c
ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included.
2007-05-03 08:24:32 -04:00
Brad King
2db8d671e7
ENH: Changed GNUC compiler id name to GNU.
2007-05-01 14:35:55 -04:00
Brad King
5f1db8b249
STYLE: Added comment explaining choice of file extension.
2007-04-30 18:10:37 -04:00
Brad King
3b744d0804
BUG: Need to install CMakeCXXCompilerId.cpp so that C++ compiler identification works in an install tree.
2007-04-30 18:09:04 -04:00
Alexander Neundorf
412c0f4a61
STYLE: comment which says which variables this macro sets
...
Alex
2007-04-30 17:05:32 -04:00
Alexander Neundorf
8f7b0291d8
STYLE: use the newer FIND_XXX syntax, which should find MPI in even more
...
directories and doesn't require to list standard directories like /usr/lib,
etc.
Alex
2007-04-30 17:03:53 -04:00
Alexander Neundorf
22a2abb154
BUG: also install CMakePlatformId.h, otherwise the check for the compiler id
...
works only when building cmake itself, but not with an installed cmake
Alex
2007-04-30 16:05:42 -04:00
Alexander Neundorf
6e2cd41138
BUG: if /opt/lib and /opt/csw/lib are searched for libs, then /opt/include
...
and /opt/csw/include should also be searched for headers (according to
google they also exist)
Alex
2007-04-30 10:57:32 -04:00
Brad King
eac71647dd
ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included.
2007-04-28 09:35:01 -04:00
Alexander Neundorf
f693951480
STYLE: fix typo "CCC" -> "CC", add comments which variables it sets
...
Alex
2007-04-25 16:22:46 -04:00
Brad King
2dd364f751
ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols.
2007-04-18 00:11:47 -04:00
Brad King
66d1930f56
ENH: Added CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols.
2007-04-17 23:41:51 -04:00
Brad King
60befc2e49
ENH: Added CMAKE_SHARED_MODULE_LOADER_C_FLAG and CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to executables.
2007-04-17 16:19:36 -04:00
Sebastien Barre
5a836da544
ENH: this variable overrides all PROJECT_URL. Check the dashboard, all projects have the wrong URL in their "Home" button. Other variables (like ROLLUP_URL) were moved a while ago, for some reasons this one is still here.
2007-04-10 14:54:48 -04:00
Brad King
a017333d9a
ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805.
2007-04-10 11:22:15 -04:00
Brad King
0526552b10
ENH: Enabled use of soname and therefore versioning symlinks. Patch is from bug#4558.
2007-04-10 08:36:33 -04:00
Andy Cedilnik
4668f03484
BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx"
2007-04-04 15:59:22 -04:00
Bill Hoffman
2803688998
BUG: fix for bug 4605
2007-04-04 13:43:12 -04:00
Andy Cedilnik
71fc9f9321
COMP: Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx
2007-04-04 13:06:13 -04:00
Brad King
5a32aa5919
ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210 .
2007-03-22 09:45:25 -04:00
Brad King
56ce727d10
BUG: Disable creation of import libraries for executables on Borland until it can be made optional. Otherwise all executables get a .lib with the same name which is unexpected behavior for users.
2007-03-20 09:14:27 -04:00
Brad King
fc7c433463
ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
2007-03-19 10:00:36 -04:00
Brad King
2f09a22411
BUG: Do not create import library for MODULEs. This is an incremental fix for bug#4210.
2007-03-10 07:49:47 -05:00
Brad King
007fa79037
BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210.
2007-03-10 07:37:42 -05:00
Brad King
475447870f
BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210 .
2007-03-09 13:59:18 -05:00
Brad King
0e8515fa4c
BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway.
2007-03-07 15:57:52 -05:00
Ken Martin
100723fbb0
BUG: untested fix for newlines in the output of pkg config
2007-03-07 15:36:09 -05:00