1. 07 Dec, 2012 1 commit
    • Brad King's avatar
      Add policy CMP0019 to skip include/link variable re-expansion · 711b63f7
      Brad King authored
      Historically CMake has always expanded ${} variable references in the
      values given to include_directories(), link_directories(), and
      link_libraries().  This has been unnecessary since general ${}
      evaluation syntax was added to the language a LONG time ago, but has
      remained for compatibility with VERY early CMake versions.
      
      For a long time the re-expansion was a lightweight operation because it
      was only processed once at the directory level and the fast-path of
      cmMakefile::ExpandVariablesInString was usually taken because values did
      not have any '$' in them.  Then commit d899eb71 (Call
      ExpandVariablesInString for each target's INCLUDE_DIRECTORIES,
      2012-02-22) made the operation a bit heavier because the expansion is
      now needed on a per-target basis.  In the future we will support
      generator expressions in INCLUDE_DIRECTORIES with $<> syntax, so the
      fast-path in cmMakefile::ExpandVariablesInString will no longer be taken
      and re-expansion will be very expensive.
      
      Add policy CMP0019 to skip the re-expansion altogether in NEW behavior.
      In OLD behavior perform the expansion but improve the fast-path
      heuristic to match ${} but not $<>.  If the policy is not set then warn
      if expansion actually does anything.  We expect this to be encountered
      very rarely in practice.
      711b63f7
  2. 29 Nov, 2012 1 commit
  3. 28 Nov, 2012 2 commits
    • Brad King's avatar
      Merge topic 'windows-ce' · 581b0c0d
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      3a1006e4 VS: Added "Deploy" at project configuration for WindowsCE targets
      40c36c9f VS: Make DetermineCompilerId working with WinCE too
      038df9e4 VS: Allow setting the name of the target platform
      6fe4fcba VS: Add parser for WCE.VCPlatform.config to read WinCE platforms
      2118a201 VS: Support setting correct subsystem and entry point for WinCE
      6920fed6 VS: Change variable type of Name from const char* to string
      102521b6 VS: Change variable type of ArchitectureId from const char* to string
      332dc09d VS: Add static method to get the base of the registry
      d41d4d3d VS: Add CMAKE_VS_PLATFORM_NAME definition to cmMakefile
      14861f88 VS: Remove TargetMachine for linker when checking compiler id
      581b0c0d
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 1ed04648
      Kitware Robot authored
      1ed04648
  4. 27 Nov, 2012 20 commits
  5. 26 Nov, 2012 16 commits