1. 16 Dec, 2011 1 commit
  2. 09 Nov, 2011 1 commit
    • David Cole's avatar
      Tests: Nudge MFC test to pass on VS 6 dashboards (#11213) · 537020f9
      David Cole authored
      InstallRequiredSystemLibraries does not install any dlls when
      used with VS 6 dashboards. Modify the ValidateBuild script to
      expect only 1 file when building with VS 6.
      Using "-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>" does not work when
      <INSTALL_DIR> evaluates to a long enough string. However, using
      "-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>" does work, even with
      the longer strings. So: make sure to include the ":PATH" when using
      this construct with ExternalProject calls so that they may install
      to the proper location on VS 6 builds. All existing calls that match
      "CMAKE_INSTALL_PREFIX.*INSTALL_DIR" include the ":PATH" after this
      By the way: https://twitter.com/DLRdave/status/134339505397309440
  3. 08 Nov, 2011 1 commit
  4. 04 Nov, 2011 1 commit
  5. 03 Nov, 2011 1 commit
    • David Cole's avatar
      Tests: Fix MFC test for old vs6 dashboards (#11213) · a42e3f2b
      David Cole authored
      The MFC test's mfc1 directory was a "VS-MFC-wizard-generated"
      starter MFC app, using VS 7.1 as the generator. There's one define
      used in the generated rc file that was not available back in the
      VS6 days... Put a conditional define in here based on _MSC_VER
      to enable the test app to build on VS6 dashboards.
  6. 02 Nov, 2011 1 commit
  7. 01 Nov, 2011 1 commit
    • David Cole's avatar
      Tests: Add the MFC test (#11213) · 36b0c432
      David Cole authored
      Build a simple, do-nothing VS 7.1 MFC wizard generated app
      with CMake.
      Build it two different ways via ExternalProject, one with
      CMAKE_MFC_FLAG set to 1 for linking to MFC statically, and
      one with CMAKE_MFC_FLAG set to 2 for linking to the shared
      MFC dlls.
      Validate that the install tree of the static build has only
      one *.exe file in it and nothing else. Also validate that the
      install tree of the shared library build has multiple files in
      it (no less than 3) and that they are only of the expected types
      *.exe, *.dll and *.manifest.
      This commit does not address the issue reported in #11213,
      it merely adds a test that may be used to show that the
      bug report is valid. After this commit, the MFC test should
      fail on any dashboard machines that have MSVC defined, but
      cannot build an MFC app. We can then analyze that failure
      data as input to solving the issue.