Permalink
Browse files

Don't build samples or tests by default, to improve build times when …

…only the lib is needed.
  • Loading branch information...
1 parent a4942df commit 9581633c1e8bb92486045c7c351bfb1779b026c6 @juj committed Mar 29, 2012
Showing with 12 additions and 12 deletions.
  1. +12 −12 CMakeLists.txt
View
24 CMakeLists.txt
@@ -199,19 +199,19 @@ target_link_libraries(kNet ${kNetLinkLibraries})
set(KNET_OUT_DIR ${CMAKE_SOURCE_DIR}/lib)
-add_subdirectory(samples/ConnectFlood)
+#add_subdirectory(samples/ConnectFlood)
#add_subdirectory(samples/FileTransfer)
-add_subdirectory(samples/FirewallTest)
-add_subdirectory(samples/HelloClient)
-add_subdirectory(samples/HelloServer)
-add_subdirectory(samples/LatencyTest)
-add_subdirectory(samples/MessageCompiler)
-add_subdirectory(samples/SilenceTest)
-add_subdirectory(samples/SimpleChat)
-add_subdirectory(samples/SpeedTest)
-add_subdirectory(samples/TrashTalk)
-
-add_subdirectory(tests)
+#add_subdirectory(samples/FirewallTest)
+#add_subdirectory(samples/HelloClient)
+#add_subdirectory(samples/HelloServer)
+#add_subdirectory(samples/LatencyTest)
+#add_subdirectory(samples/MessageCompiler)
+#add_subdirectory(samples/SilenceTest)
+#add_subdirectory(samples/SimpleChat)
+#add_subdirectory(samples/SpeedTest)
+#add_subdirectory(samples/TrashTalk)
+
+#add_subdirectory(tests)
set_target_properties(kNet PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib

0 comments on commit 9581633

Please sign in to comment.