Эх сурвалжийг харах

temp. cppunit test comment

Johannes Ruehle 12 жил өмнө
parent
commit
1bdb5d4ae3
1 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 11 0
      cmake/NiceModules.cmake

+ 11 - 0
cmake/NiceModules.cmake

@@ -71,6 +71,17 @@ macro(nice_add_unittests)
       SET_PROPERTY(TARGET ${__testname} PROPERTY FOLDER "unittests/${the_library}")
       ADD_TEST(${__testname} ${__testname})
     endforeach()
+
+#     INCLUDE_DIRECTORIES(${CPPUNIT_INCLUDE_DIR})
+#     message(STATUS "building tests:")
+# 
+#       ADD_EXECUTABLE( "cppunits_${the_library}" ../templates/cppUnitTestRunner.cpp ${nice_${the_library}_TESTFILES_SRC})
+#       TARGET_LINK_LIBRARIES("cppunits_${the_library}" "nice_${the_library}" ${CPPUNIT_LIBRARIES} )
+# 
+#       INSTALL(TARGETS "cppunits_${the_library}" DESTINATION "tests/${the_library}")
+#       SET_PROPERTY(TARGET "cppunits_${the_library}" PROPERTY FOLDER "unittests/${the_library}")
+#       ADD_TEST("cppunits_${the_library}" "cppunits_${the_library}")
+
   endif()
 
 endmacro()