1. 10 Mar, 2014 1 commit
    • Artur Grunau's avatar
      Replace CAMPVIS_SHARED_LIBS with BUILD_SHARED_LIBS · 9c6f117b
      Artur Grunau authored
      CAMPVis used a custom option, CAMPVIS_SHARED_LIBS, to determine whether
      shared or static libraries should be built. This option partially
      duplicated the functionality of one of CMake's standard flags,
      BUILD_SHARED_LIBS. The two could get out of sync, and because CMake only
      consults BUILD_SHARED_LIBS when deciding how to build a library target,
      it was possible to get inconsistent and broken build configurations.
      To prevent that, add BUILD_SHARED_LIBS as an option to CAMPVis' main
      CMakeLists and replace all references to CAMPVIS_SHARED_LIBS with
      BUILD_SHARED_LIBS. This makes BUILD_SHARED_LIBS the only flag that
      controls whether shared or static libraries are built.
      References #367
  2. 01 Mar, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Added C4251 to the ignore list for MSVC warnings, occuring due to missing... · dc70251d
      Christian Schulte zu Berge authored
      Added C4251 to the ignore list for MSVC warnings, occuring due to missing template instantiations of the standard library used in public interfaces of tgt and campvis code. Even though articles such as <http://support.microsoft.com/kb/168958/en-us> provide a clean solution to fix these warnings, I decided that exporting bazillions of std library templates is not worth the effort. As we do not plan to ship TGT without the rest to a variety of systems, the missing exports won't be a problem.
      BTW: The original tgt library build scripts also deactivate the warning. :)
      closes #376
  3. 18 Feb, 2014 1 commit
  4. 15 Feb, 2014 1 commit
    • Artur Grunau's avatar
      Improve support for NMake-based builds · 5fbabbf9
      Artur Grunau authored
      To build CAMPVis using NMake one had to manually copy several external
      DLLs into the CMake output directory. There were 2 reasons for that:
      - our macros treated NMake as a compiler and didn't try to detect what
        compiler NMake will actually use; as a result, they couldn't find the
        right external DLLs for NMake-based builds
      - Visual Studio manages build types independently of CMake and always
        outputs into a build-type-specific sub-directory of the CMake output
        directory — that's where we place external DLLs; NMake, on the other
        hand, relies on CMake for build type selection and will output
        directly into the CMake output directory; due to this discrepancy,
        NMake-based builds couldn't find the external DLLs that were copied
        into the build directory
      As many popular IDEs (e.g. Qt Creator, Code::Blocks, Eclipse CDT) rely
      on NMake to build projects on Windows, it makes sense to have a working
      support for NMake in our build system.
      Update our compiler detection macros and adjust the CMake output
      directory to match that of Visual Studio when NMake is used to improve
      the support for NMake-based builds.
  5. 07 Feb, 2014 1 commit
    • Artur Grunau's avatar
      Build TGT as a shared library by default · 8beb8280
      Artur Grunau authored
      This commit explicitly marks TGT to be built as a shared library and
      adds several missing TGT_API annotations to TGT classes that are
      required by other CAMPVIS modules.
  6. 02 Jan, 2014 1 commit
  7. 13 Dec, 2013 1 commit
  8. 02 Dec, 2013 1 commit
  9. 21 Nov, 2013 1 commit
  10. 18 Nov, 2013 1 commit
  11. 29 Oct, 2013 1 commit
  12. 15 Oct, 2013 4 commits
  13. 12 May, 2013 1 commit
  14. 06 Feb, 2013 2 commits
  15. 05 Feb, 2013 1 commit
  16. 24 Jan, 2013 1 commit
  17. 26 Nov, 2012 1 commit
  18. 03 Nov, 2012 1 commit
  19. 02 Nov, 2012 2 commits
  20. 31 Oct, 2012 1 commit
  21. 26 Oct, 2012 1 commit
  22. 14 Aug, 2012 1 commit
  23. 07 Aug, 2012 1 commit
  24. 17 Jul, 2012 1 commit
  25. 07 Jul, 2012 2 commits
  26. 02 Jul, 2012 3 commits