Skip to content

v28

Compare
Choose a tag to compare
@rollbear rollbear released this 24 Jul 10:31
  • You can place expectations on types multiply inheriting several mock types.

  • Changed directory structure. "trompeloeil.hpp" now resides in directory "include". Self test programs "compiling_tests.cpp" and "thread_terror.cpp" resides in directory "test".

  • Major work on CMake support

    • make install - works as before and also includes a package.
    • For CMake based project you can use
      • find_package(trompeloeil 28 REQUIRED) and add target_link_libraries(<test_program> trompeloeil) for your test target
      • use add_subdirectory(trompeloeil) if you prefer to track the trompeloeil git repository and also here add target_link_libraries(<test_program> trompeloeil) for your test target
        • cmake -DBUILD_TYPE=Debug <trompeloeil-dir> enables the test targets self_test and thread_terror
          • -DSANITIZE=true enables ASAN and UBSAN for self_test, and TSAN and UBSAN for thread_terror