vmap/contrib/CMakeLists.txt

17 lines
422 B
Text
Raw Normal View History

2020-11-17 11:16:16 +00:00
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_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})
copy_dlls(${name})
install(
TARGETS ${name}
LIBRARY DESTINATION plugins
)
endmacro()
add_subdirectory(brushexport)
add_subdirectory(prtview)