Skip to content
Snippets Groups Projects
  1. Nov 08, 2018
    • vargheseg's avatar
      revised option names: · af46ca24
      vargheseg authored
      new scheme:
      register_tests(SOURCES
                       ${list_of_source_files}
                       "test_src.cc"
                       ${concatenated_string_of_source_files}
                     NAMESPACE
                       "test_namespace"
                     LINK_LIBRARIES
                       ${list_of_targets}
                     INCLUDE_DIRECTORIES
                       ${list_of_include_directories}
                     COMPILE_OPTIONS
                       ${list_of_compile_options})
      af46ca24
    • vargheseg's avatar
      Introduced cmake module registerTests: · c50b5abb
      vargheseg authored
      usage:
      register_tests(SOURCES
                       ${list_of_source_files}
                       "test_src.cc"
                       ${concatenated_string_of_source_files}
                     NAMESPACE
                       "test_namespace"
                     DEPENDS
                       ${list_of_targets}
                     INCLUDES
                       ${list_of_include_directories}
                     COMPILE_OPTIONS
                       ${list_of_compile_options})
      
      Function registers tests defined as a list of souce files.  Test defined
      by file source_name.cc in the SOURCES list is registered under the name
        test_namespace.source_name
      
      Provided list of dependent targets and include directories are used for
      test executables as PRIVATE dependencies during compilation.
      
      Function implicitly adds a dependency on the boost unit test framework
      to each generated test executable.
      c50b5abb
  2. Oct 08, 2018
  3. Oct 04, 2018
  4. Oct 01, 2018
  5. Aug 30, 2018
  6. Aug 08, 2018
  7. Jul 18, 2018
  8. May 07, 2018
  9. Apr 25, 2018
  10. Apr 23, 2018
  11. Apr 12, 2018
  12. Mar 16, 2018
  13. Mar 13, 2018
  14. Feb 19, 2018
  15. Mar 30, 2017
  16. Mar 02, 2017
  17. Feb 10, 2017
  18. Dec 12, 2016
  19. Dec 09, 2016
  20. Nov 24, 2016
  21. Nov 03, 2016
  22. Oct 13, 2016
  23. Sep 20, 2016
Loading