Skip to content
Snippets Groups Projects
  1. Jul 12, 2021
  2. Jun 23, 2021
  3. Mar 15, 2021
  4. Dec 09, 2020
  5. Dec 03, 2020
  6. Oct 22, 2020
  7. Jul 24, 2020
  8. May 29, 2020
  9. May 28, 2020
  10. May 27, 2020
  11. Apr 24, 2020
  12. Mar 13, 2020
  13. Jan 30, 2020
  14. Jan 27, 2020
  15. May 16, 2019
  16. Apr 29, 2019
  17. Feb 14, 2019
  18. Nov 19, 2018
    • vargheseg's avatar
      register_tests now takes working directory. · 13568613
      vargheseg authored
      usage:
      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}
                     WORKING_DIRECTORY
                       ${ctest_working_directory})
      13568613
  19. 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
  20. Aug 08, 2018
  21. Mar 13, 2018
  22. Feb 19, 2018
  23. Dec 12, 2016
  24. Nov 24, 2016
  25. Oct 13, 2016
  26. Sep 20, 2016
Loading