Skip to content
Snippets Groups Projects
  1. Jan 08, 2019
  2. Jan 07, 2019
  3. Jan 04, 2019
  4. Jan 03, 2019
  5. Dec 21, 2018
  6. Dec 19, 2018
  7. Dec 10, 2018
  8. Nov 29, 2018
  9. Nov 28, 2018
  10. Nov 13, 2018
  11. Nov 12, 2018
  12. Nov 09, 2018
  13. Nov 08, 2018
    • Martin Christoph Hierholzer's avatar
      caeb297f
    • vargheseg's avatar
      Merge pull request #4 from vargheseg/master · 4bc4a0f0
      vargheseg authored
      Introduced cmake module registerTests:
      Unverified
      4bc4a0f0
    • 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
  14. Nov 06, 2018
Loading