|
@@ -3,13 +3,11 @@ PROJECT(dtc)
|
|
|
option(CMAKE_TEST_OPTION "option for test_demo" OFF)
|
|
|
ADD_SUBDIRECTORY(./src)
|
|
|
|
|
|
+#if you want to build the test_demo,you should use this command `cmake -DCMAKE_TEST_OPTION=ON ..`
|
|
|
if(CMAKE_TEST_OPTION)
|
|
|
ADD_SUBDIRECTORY(./test)
|
|
|
SET(CMAKE_TEST_OPTION OFF CACHE BOOL INTERNAL FORCE)
|
|
|
ENDIF(CMAKE_TEST_OPTION)
|
|
|
|
|
|
#if you want to uninstall libraries, you should enter "build" folder, and use this command
|
|
|
-# cat install_manifest.txt | sudo xargs rm
|
|
|
-
|
|
|
-#if you want to build the test_demo,you should use this command
|
|
|
-#cmake -DCMAKE_TEST_OPTION=ON ..
|
|
|
+# cat install_manifest.txt | sudo xargs rm
|