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