Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…only the lib is needed.
  • Loading branch information...
commit 9581633c1e8bb92486045c7c351bfb1779b026c6 1 parent a4942df
@juj authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.