add_subdirectory(libs)
-macro(radiant_plugin name)
- message(STATUS "Found Plugin ${name}")
- add_library(${name} MODULE ${ARGN})
-endmacro()
-
add_subdirectory(contrib)
add_subdirectory(plugins)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
+add_custom_target(plugins)
+macro(radiant_plugin name)
+ message(STATUS "Found Plugin ${name}")
+ add_library(${name} MODULE ${ARGN})
+ add_dependencies(plugins ${name})
+endmacro()
+
# add_subdirectory(bkgrnd2d)
add_subdirectory(bobtoolz)
add_subdirectory(brushexport)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/modules")
+add_custom_target(modules)
+macro(radiant_plugin name)
+ message(STATUS "Found Module ${name}")
+ add_library(${name} MODULE ${ARGN})
+ add_dependencies(modules ${name})
+endmacro()
+
add_subdirectory(archivepak)
add_subdirectory(archivewad)
add_subdirectory(archivezip)