Skip to content
Snippets Groups Projects
  1. Jan 19, 2023
  2. Jul 13, 2021
  3. Jul 12, 2021
  4. Jun 23, 2021
  5. Mar 15, 2021
  6. Dec 09, 2020
  7. Dec 03, 2020
  8. Oct 22, 2020
  9. Jul 24, 2020
  10. May 29, 2020
  11. May 28, 2020
  12. May 27, 2020
  13. Apr 24, 2020
  14. Mar 13, 2020
  15. Jan 30, 2020
  16. Jan 27, 2020
  17. May 16, 2019
  18. Apr 29, 2019
  19. Feb 14, 2019
  20. 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
  21. 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
  22. Aug 08, 2018
  23. Mar 13, 2018
  24. Feb 19, 2018
  25. Dec 12, 2016
  26. Nov 24, 2016
  27. Oct 13, 2016
  28. Sep 20, 2016
Loading