cmake: add “tools” target
authorThomas Debesse <dev@illwieckz.net>
Wed, 29 May 2019 21:21:59 +0000 (23:21 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sun, 16 Jun 2019 13:22:23 +0000 (15:22 +0200)
the same way there is now a BUILD_RADIANT and BUILD_TOOLS build option,
allow people to just do: make tools

tools/CMakeLists.txt

index 1fcce20..4c2c5d2 100644 (file)
@@ -1,3 +1,6 @@
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")
 
 add_subdirectory(quake3)
+
+add_custom_target(tools)
+add_dependencies(tools quake3)