1. 03 Sep, 2009 1 commit
    • Brad King's avatar
      Factor cmLocalGenerator::Configure object max path · 1db5c906
      Brad King authored
      Much of the code in this method was dedicated to computing ObjectMaxPath
      after configuring the directory.  We move this last step into its own
      ComputeObjectMaxPath method for better organization.
      1db5c906
  2. 11 Jul, 2009 1 commit
  3. 25 Jun, 2009 1 commit
  4. 26 Feb, 2009 1 commit
  5. 24 Feb, 2009 1 commit
    • Brad King's avatar
      BUG: Remove implicit include dir suppression · 39f8b911
      Brad King authored
      We used to suppress generation of -I/usr/include (and on OSX also
      -I/usr/local/include).  This behavior seems to cause more trouble than
      it's worth, so I'm removing it until someone encounters the original
      problem it fixed.  See issue #8598.
      39f8b911
  6. 10 Feb, 2009 2 commits
    • Brad King's avatar
      ENH: Add rule substitutions useful for launchers · 15c52e98
      Brad King authored
      This defines make rule substitutions <LANGUAGE>, <TARGET_NAME>,
      <TARGET_TYPE>, and <OUTPUT>.  They will be useful for RULE_LAUNCH_*
      property values.
      15c52e98
    • Brad King's avatar
      ENH: Define RULE_LAUNCH_* properties · b604b98c
      Brad King authored
      This defines global, directory, and target properties
      RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM.  Their
      values specify 'launcher' command lines which are prefixed to compile,
      link, and custom build rules by Makefile generators.
      b604b98c
  7. 16 Dec, 2008 2 commits
    • Brad King's avatar
      ENH: Warn if build dir is too long for filesystem · 205fce61
      Brad King authored
      When an object file directory is too deep to place an object file
      without exceeding CMAKE_OBJECT_PATH_MAX, this issues a warning.
      Previously we silently ignored the problem.  See issue #7860.
      205fce61
    • Brad King's avatar
      ENH: Refactor passing of max length object dir · 3cf9265f
      Brad King authored
      When computing the maximum length full path to the build directory under
      which object files will be placed, pass the actual path instead of just
      its length.  This will be useful for error message generation.
      3cf9265f
  8. 09 Oct, 2008 1 commit
    • Brad King's avatar
      ENH: Fix optional use of relative paths. · ad44a41a
      Brad King authored
      These changes refactor cmLocalGenerator methods Convert and
      ConvertToOutputForExisting to support references inside the build tree
      using relative paths.  After this commit, all tests pass with Makefile
      generators when relative paths are enabled by default.  See issue #7779.
      ad44a41a
  9. 02 Sep, 2008 1 commit
    • Brad King's avatar
      ENH: Create Info.plist files in OS X Frameworks · f89dae7a
      Brad King authored
      A Mac OS X Framework should provide a Resources/Info.plist file
      containing meta-data about the framework.  This change generates a
      default Info.plist for frameworks and provides an interface for users to
      customize it.
      f89dae7a
  10. 21 Aug, 2008 1 commit
    • Brad King's avatar
      ENH: Allow custom limit on object file path length · 990c6b0b
      Brad King authored
      Some native build tools, particularly those for cross compiling, may
      have a limit on the length of the full path to an object file name that
      is lower than the platform otherwise supports.  This change allows the
      limit to be set by the project toolchain file through the variable
      CMAKE_OBJECT_PATH_MAX.
      990c6b0b
  11. 14 Feb, 2008 1 commit
  12. 29 Jan, 2008 2 commits
  13. 23 Jan, 2008 1 commit
  14. 22 Jan, 2008 1 commit
    • Brad King's avatar
      ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832 · 96fd5909
      Brad King authored
        - This is purely an implementation improvement.  No interface has changed.
        - Create cmComputeLinkInformation class
        - Move and re-implement logic from:
            cmLocalGenerator::ComputeLinkInformation
            cmOrderLinkDirectories
        - Link libraries to targets with their full path (if it is known)
        - Dirs specified with link_directories command still added with -L
        - Make link type specific to library names without paths
          (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
        - Make directory ordering specific to a runtime path computation feature
          (look for conflicting SONAMEs instead of library names)
        - Implement proper rpath support on HP-UX and AIX.
      96fd5909
  15. 17 Jan, 2008 3 commits
  16. 14 Jan, 2008 1 commit
  17. 13 Jan, 2008 1 commit
  18. 11 Jan, 2008 1 commit
  19. 07 Jan, 2008 1 commit
  20. 28 Dec, 2007 1 commit
  21. 19 Dec, 2007 3 commits
  22. 18 Dec, 2007 1 commit
  23. 26 Nov, 2007 1 commit
  24. 01 Aug, 2007 1 commit
  25. 18 Jun, 2007 1 commit
    • Brad King's avatar
      ENH: Merging changes from branch CMake-SourceFile2-b between tags · 35936433
      Brad King authored
      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.
      35936433
  26. 15 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · 9d4f3a06
      Alexander Neundorf authored
      STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and
      GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is
      one const accessor which is even faster since it returns a reference
      (instead of copying a vector)
      -more const to ensure that this the returned local generators don't actually
      get modified
      -removed duplicated code in GetCTestCommand() and GetCPackCommand()
      -added some const accessors
      
      Alex
      9d4f3a06
  27. 17 May, 2007 1 commit
  28. 10 May, 2007 1 commit
  29. 09 May, 2007 2 commits
    • Alexander Neundorf's avatar
      · 8245f437
      Alexander Neundorf authored
      BUG: fix problem for non-C/CXX languages with Visual Studio, the
      dependencies for the custom commands added for java were not handled
      correctly. Needs more work.
      
      Alex
      8245f437
    • Alexander Neundorf's avatar
      · 7f115367
      Alexander Neundorf authored
      ENH: now target names can be used in add_custom_command() and
      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
      7f115367
  30. 16 Mar, 2007 1 commit
    • Brad King's avatar
      ENH: Added computation of object file names that are almost always short... · 1f639ee7
      Brad King authored
      ENH: Added computation of object file names that are almost always short 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.
      1f639ee7
  31. 12 Mar, 2007 1 commit
  32. 08 Mar, 2007 1 commit