gplugin/gplugin

abandoning this branch
draft feature/mono
2021-04-28, Gary Kramlich
bb31846ffcb7
abandoning this branch
set(MONO_PLUGINS)
macro(add_mono_plugin basename)
message(STATUS gplugin-sharp.dll)
add_custom_command(
COMMAND ${MONO_MCS} -out:${CMAKE_CURRENT_BINARY_DIR}/${basename}.dll
-lib:${CMAKE_BINARY_DIR}/mono
-reference:gplugin-sharp.dll
-pkg:glib-sharp-3.0
-target:module
${CMAKE_CURRENT_SOURCE_DIR}/${basename}.cs
OUTPUT ${basename}.dll
DEPENDS mono-library
)
list(APPEND MONO_PLUGINS ${basename}.dll)
endmacro(add_mono_plugin)
add_mono_plugin(basic)
add_custom_target(mono-plugins ALL
DEPENDS ${MONO_PLUGINS}
)