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