1. 02 Sep, 2009 1 commit
    • Brad King's avatar
      Silence VS generator for missing CMakeLists.txt · 0e8c7859
      Brad King authored
      CMake Makefile generators silently ignore missing CMakeLists.txt files
      and just treat the source directory as if it had an empty input file.
      This will be addressed with a new CMake Policy, but for now we make the
      VS generator consistent with the Makefile generator behavior.  The VS
      generator will need to handle the OLD behavior of the policy anyway.
      0e8c7859
  2. 28 Jul, 2009 1 commit
  3. 14 Jul, 2009 1 commit
  4. 10 Jul, 2009 1 commit
  5. 08 Jul, 2009 1 commit
  6. 07 Jul, 2009 1 commit
    • Brad King's avatar
      ENH: Simpler cmTarget::GetLinkerLanguage signature · a6084671
      Brad King authored
      This method previously required the global generator to be passed, but
      that was left from before cmTarget had its Makefile member.  Now the
      global generator can be retrieved automatically, so we can drop the
      method argument.
      a6084671
  7. 03 Jul, 2009 2 commits
    • Brad King's avatar
      BUG: Avoid cmTarget::GetDirectory for utilities · 43669f0e
      Brad King authored
      Since utility targets have no main output files like executables or
      libraries, they do not define an output directory.  This removes a call
      to cmTarget::GetDirectory from cmLocalVisualStudio{6,7}Generator for
      such targets.
      43669f0e
    • Brad King's avatar
      STYLE: Replace large if() with named boolean · 44021718
      Brad King authored
      In cmLocalVisualStudio{6,7}Generator this replaces a large if() test
      with a re-usable result stored in a boolean variable named accordingly.
      44021718
  8. 16 Jun, 2009 2 commits
    • Brad King's avatar
      ENH: Create exe implib dir in VS pre-link rule · 66189b0b
      Brad King authored
      This moves creation of an executable's import library directory in VS
      projects from the pre-build step to the pre-link step.  It makes sense
      to create the directory at the last moment.
      66189b0b
    • Brad King's avatar
      ENH: Generalize exe implib dir creation for VS · 764ac980
      Brad King authored
      In VS 7,8,9 executable targets we generate a build event to create the
      output directory for the import library in case the executable marks
      symbols with dllexport (VS forgets to create this directory).  This
      generalizes computation of the custom command line to support future use
      with other VS versions.
      764ac980
  9. 15 Jun, 2009 1 commit
    • Brad King's avatar
      BUG: Create an exe's implib output dir for VS · f4b3bdc6
      Brad King authored
      If an executable marks symbols with __declspec(dllexport) then VS
      creates an import library for it.  However, it forgets to create the
      directory that will contain the import library if it is different from
      the location of the executable.  We work around this VS bug by creating
      a pre-build event on the executable target to make the directory.
      f4b3bdc6
  10. 12 Jun, 2009 1 commit
    • Brad King's avatar
      ENH: Refactor VS 7,8,9 build event generation · 4a9dd4aa
      Brad King authored
      In cmLocalVisualStudio7Generator we generate pre-build, pre-link, and
      post-build events into project files.  This refactors the generation
      code for the three event types into a private EventWriter class to avoid
      duplicate code.
      4a9dd4aa
  11. 28 Mar, 2009 1 commit
  12. 27 Mar, 2009 1 commit
  13. 27 Jan, 2009 1 commit
  14. 16 Dec, 2008 1 commit
    • 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
  15. 27 Oct, 2008 2 commits
  16. 07 Oct, 2008 1 commit
  17. 01 Oct, 2008 1 commit
  18. 08 Sep, 2008 1 commit
  19. 03 Sep, 2008 1 commit
  20. 31 Jul, 2008 1 commit
  21. 30 Jun, 2008 1 commit
  22. 17 Jun, 2008 1 commit
  23. 16 May, 2008 1 commit
  24. 30 Apr, 2008 1 commit
  25. 17 Apr, 2008 1 commit
  26. 08 Apr, 2008 1 commit
    • Brad King's avatar
      BUG: Correct Mac OS X framework behavior · 67834f2d
      Brad King authored
        - Place the built library in foo.framework/Versions/A/foo
        - Do not create unused content symlinks (like PrivateHeaders)
        - Do not use VERSION/SOVERSION properties for frameworks
        - Make cmTarget::GetDirectory return by value
        - Remove the foo.framework part from cmTarget::GetDirectory
        - Correct install_name construction and conversion on install
        - Fix MACOSX_PACKAGE_LOCATION under Xcode to use the
          Versions/<version> directory for frameworks
        - Update the Framework test to try these things
      67834f2d
  27. 31 Mar, 2008 1 commit
  28. 27 Mar, 2008 3 commits
  29. 30 Jan, 2008 1 commit
  30. 29 Jan, 2008 2 commits
  31. 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
  32. 17 Jan, 2008 1 commit
  33. 15 Jan, 2008 1 commit
  34. 14 Jan, 2008 1 commit