Alexander Neundorf
1941b1c5d2
STYLE: better error message, name the new manpages cmakecommands,
...
cmakecompat, cmakeprops and cmakemodules
Alex
2007-07-13 12:03:13 -04:00
Alexander Neundorf
378a8e99f9
ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems
...
to be interest in it
Alex
2007-07-13 00:58:43 -04:00
Alexander Neundorf
c8010cd7fb
ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
...
added tests for LIST(CONTAINS, SORT, REVERSE)
Alex
2007-07-12 11:56:45 -04:00
Ken Martin
36eb538843
BUG: fix screwup in GetDirectoryProp...
2007-07-12 10:17:37 -04:00
Alexander Neundorf
021ceea1b0
ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea)
...
Alex
2007-07-12 08:37:10 -04:00
Alexander Neundorf
16705a3e87
COMP: revert last commit for now, broke Visual Studio
...
Alex
2007-07-11 17:29:27 -04:00
Alexander Neundorf
bea1a5de77
ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a
...
two-step priority (None or Prefered)
Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40
This is the same order as automake choses:
http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html
This change should be backward compatible:
if there is a project using fortran and CXX, they had to set the
LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated
the project files). Explicitely setting the linker language still overrides
automatic detection.
If somebody has a custom language for cmake and the PREFERENCE starts with
"P", its changed to 100, which gives it preference over all other languages
(except the other custom languages which have also "Prefered"). "None" is
converted to 0.
Alex
2007-07-11 16:22:04 -04:00
Alexander Neundorf
9f16292b6a
STYLE: sort the property documentation into
...
global/directory/target/test/sourcefile and variable sections
Alex
2007-07-11 15:53:58 -04:00
Alexander Neundorf
ab10b43ec5
ENH: change the way #cmakedefine is changed to #undef, so it is similar to
...
what autoconf does. This makes porting software from autoconf to cmake
easier, since it's easier to diff the resulting config headers.
Now the following
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_STRLCAT 1
produce:
#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT */
whereas before they produced:
#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT 1 */
Since it's commented out anyway, it's now change in behaviour.
Alex
2007-07-11 15:50:32 -04:00
Ken Martin
9f2ee61cc8
ENH: added some documentation to explain a section of code a bit better
2007-07-10 14:05:06 -04:00
Ken Martin
8c641677e9
ENH: some cleanup of get property commands
2007-07-10 13:52:41 -04:00
Brad King
15f21aa74c
STYLE: Removed stray comment.
2007-07-09 14:30:33 -04:00
Andy Cedilnik
3a69b75c09
STYLE: Nightly Version update
2007-07-09 05:50:48 -04:00
Andy Cedilnik
39d1d72a72
STYLE: Nightly Version update
2007-07-09 00:44:51 -04:00
Andy Cedilnik
d0441d6b25
STYLE: Nightly Version update
2007-07-07 17:23:32 -04:00
Andy Cedilnik
38f68e433a
STYLE: Nightly Version update
2007-07-06 19:09:40 -04:00
Andy Cedilnik
dbbe920865
STYLE: Nightly Version update
2007-07-05 15:50:36 -04:00
Andy Cedilnik
a28b298aa6
STYLE: Nightly Version update
2007-07-04 08:21:27 -04:00
Alexander Neundorf
7fbd4161d5
STYLE: name the external generator "KDevelop3 - Unix Makefiles" instead of "Unix Makefiles -
...
KDevelop3"
-initialize Ignore to 0, crashes otherwise
Alex
2007-07-03 16:10:50 -04:00
Alexander Neundorf
ad2fe23f6f
COMP: fix compile on HP-UX with aCC, reusing the same identifier for a
...
variable as for the enum type doesn't work here
Alex
2007-07-03 08:26:32 -04:00
Andy Cedilnik
fa9dd93d95
STYLE: Nightly Version update
2007-07-03 03:58:13 -04:00
Alexander Neundorf
1fb59c23fd
COMP: fix warnings
...
Alex
2007-07-02 16:46:18 -04:00
Brad King
e25dd3b903
COMP: Remove unused argument.
2007-07-02 16:04:15 -04:00
Brad King
c3fed205e9
COMP: Remove shadowed local.
2007-07-02 16:04:12 -04:00
Alexander Neundorf
2e56fa4808
ENH: add framework for unified handling of arguments to cmake commands,
...
example see cmExportCommand.cxx
Alex
2007-07-02 15:43:21 -04:00
Brad King
7f29f8966d
ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post.
2007-07-02 14:56:57 -04:00
Brad King
cac79e92b8
STYLE: Fixed line-too-long, fixed indentation, removed trailing whitespace, added function separator comment lines.
2007-07-02 13:32:41 -04:00
Brad King
39d1343896
BUG: Fix install_name_tool update of the executable in an installed bundle on OSX. This addresses bug#4534.
2007-07-02 11:31:10 -04:00
Alexander Neundorf
611f86b7f6
COMP: fix build with msvc 6, the enums are now part of a class which is
...
already completely parsed
Alex
2007-07-02 11:24:44 -04:00
Brad King
c83ae4673d
ENH: Improved indentation of generated cmake_install.cmake code.
2007-07-02 11:02:52 -04:00
Andy Cedilnik
5c00dda8ce
STYLE: Nightly Version update
2007-07-01 16:53:22 -04:00
Andy Cedilnik
fe082afc5c
STYLE: Nightly Version update
2007-06-30 22:33:29 -04:00
Andy Cedilnik
d236641aaf
STYLE: Nightly Version update
2007-06-30 21:06:31 -04:00
Andy Cedilnik
d65aaebf92
STYLE: Nightly Version update
2007-06-29 16:29:40 -04:00
Brad King
fdf7b203af
ENH: First step of install script generator cleanup. Each configuration to be installed is now separately handled instead of using variables to store per-configuration names. For targets the component and configuration install-time tests are now done in the install script instead of in the FILE(INSTALL) command. This cleans things up like not trying to strip a file that was optionally not installed. It also simplifies the code for install_name adjustment on OSX. This commit is surrounded by the tags CMake-InstallGeneratorCleanup1-pre and CMake-InstallGeneratorCleanup1-post.
2007-06-28 16:11:18 -04:00
Alexander Neundorf
33e9becd6f
COMP: fix warning about unused parameter
...
Alex
2007-06-28 15:28:00 -04:00
Alexander Neundorf
151d55557e
ENH: generate separate documentation for the commands, compatiblity
...
commands, modules and properties as html, text and man pages.
The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules,
so they are easy to type.
Alex
2007-06-28 15:04:28 -04:00
Andy Cedilnik
95f55515fa
STYLE: Nightly Version update
2007-06-28 13:08:26 -04:00
Alexander Neundorf
c95dc91237
ENH:
...
-in the full documentation there is now an extra section for
compatibility commands, so users see which commands they shouldn't use
-cmake -h <command> now also works with lower case commands
--help-fullm --help-command, --help-module and --help-property now determine
the output format from the extension of the given filename
Let me know if there are some things I overlooked.
Alex
2007-06-28 11:00:57 -04:00
Alexander Neundorf
789f0b26d9
COMP: fix typo
...
Alex
2007-06-28 10:22:58 -04:00
Alexander Neundorf
43de8c8628
ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
...
something like this:
ENABLE_LANGUAGE(ASM-ATT)
IF(CMAKE_ASM-ATT_COMPILER_WORKS)
... do assembler stufff
ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
... fallback to generic C/C++
ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)
Alex
2007-06-28 09:09:26 -04:00
Brad King
53f39ad566
BUG: Do not install the import library for an executable that does not have ENABLE_EXPORTS set.
2007-06-27 16:14:50 -04:00
Brad King
c0d3ab2d2b
BUG: Need to compute the correct versioned name for executables on cygwin. This addresses bug#5238.
2007-06-27 16:10:39 -04:00
Alexander Neundorf
cfe9fda9fe
ENH: here we really want only non-imported targets, as discussed with Brad
...
Alex
2007-06-27 15:42:33 -04:00
Brad King
eab81489f1
ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
2007-06-27 12:07:34 -04:00
Brad King
6352bd5cd3
BUG: Fixed spelling of globally in global property names.
2007-06-27 12:05:59 -04:00
Brad King
9dec9a0c3b
COMP: Fix for platforms that do not have siginfo on their signal handlers.
2007-06-27 11:39:16 -04:00
Andy Cedilnik
25e97d20ce
STYLE: Nightly Version update
2007-06-27 04:49:27 -04:00
Alexander Neundorf
b1aac1fb0d
ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since
...
CMAKE_SYSTEM_NAME may already have been set when crosscompiling
Alex
2007-06-26 19:54:00 -04:00
Alexander Neundorf
b459ac2a1e
COMP: fix broken tests for now
...
Alex
2007-06-26 17:14:13 -04:00