| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(needed by the Digital Mars D compiler)
Alex
|
|
|
|
| |
Alex
|
|
|
|
| |
a common interface to something that was implemented in most local generators anyway.
|
|
|
|
| |
targets
|
|
|
|
|
|
|
| |
hasDoubleSlash is false in most cases, so in most cases 3 comparisons were
done, now only one
Alex
|
|
|
|
| |
Alex
|
|
|
|
|
|
| |
-try to fix build error on HPUX
Alex
|
|
|
|
|
|
|
|
|
| |
dependency if the target name was not listed in DEPENDS, if it was listed in
DEPENDS, create a dependency to the file
Seems to work, but have to check with Brad.
Alex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This
commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and
CMake-SourceFile2-b-mp1-post on the trunk.
The changes re-implement cmSourceFile and the use of it to allow
instances to be created much earlier. The use of cmSourceFileLocation
allows locating a source file referenced by a user to be much simpler
and more robust. The two SetName methods are no longer needed so some
duplicate code has been removed. The strange "SourceName" stuff is
gone. Code that created cmSourceFile instances on the stack and then
sent them to cmMakefile::AddSource has been simplified and converted
to getting cmSourceFile instances from cmMakefile. The CPluginAPI has
preserved the old API through a compatibility interface.
Source lists are gone. Targets now get real instances of cmSourceFile
right away instead of storing a list of strings until the final pass.
TraceVSDependencies has been re-written to avoid the use of
SourceName. It is now called TraceDependencies since it is not just
for VS. It is now implemented with a helper object which makes the
code simpler.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
addition of cmSourceFile pointers must be done with an access method in cmTarget.
|
|
|
|
|
|
|
|
| |
custom commands
STYLE: remove now invalid comments, use this->
Alex
|
|
|
|
| |
targets.
|
|
|
|
| |
targets.
|
|
|
|
| |
targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
|
|
|
|
|
|
|
|
|
|
| |
"imported" executable target. This can then be used e.g. with
ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for
"imported" targets, and FindTarget() now takes an additional argument bool
useImportedTargets to specify whether you also want to search in the
imported targets or only in the "normal" targets.
Alex
|
|
|
|
| |
block link directories.
|
|
|
|
|
|
| |
shortpath form for nmake
Alex
|
|
|
|
| |
characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
|
|
|
|
| |
David Faure.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
|
|
|
|
| |
normal shared libs on non-mac platforms
|
| |
|
|
|
|
| |
full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also.
|
|
|
|
| |
arguments. Instead just escape the argument to the loader flag.
|
|
|
|
| |
for utility targets anyway?
|
|
|
|
| |
to add a special flag when linking a plugin to an executable that loads it.
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
|
|
|
|
| |
relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change.
|
|
|
|
| |
same return the empty string instead of ".".
|
|
|
|
| |
required for installation of subdirectories to work.
|
| |
|
|
|
|
| |
identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories.
|
|
|
|
| |
name. This should keep the names looking as nice and short as possible. This partially addresses bug#4520.
|
|
|
|
| |
directory containing the import library. This is an incremental step for bug#4210.
|
|
|
|
| |
the output to the build shell. The calls have now been converted to call Convert() with SHELL.
|
| |
|
|
|
|
| |
object file names with sources above the current directory so long as the relative path conversion works.
|
|
|
|
| |
to use higher relative path tops when the source directories jump around in a tree below the original source top.
|
|
|
|
| |
each local generator. Relative path conversion is safe within a tree as long as it does not go above the highest parent directory still managed by CMake.
|
| |
|
|
|
|
| |
This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
|
| |
|
| |
|
| |
|
| |
|