17 lines
422 B
Text
17 lines
422 B
Text
|
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)
|