D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
lib64
/
wireshark
/
Filename :
UseMakePluginReg.cmake
back
Copy
# MACRO(REGISTER_PLUGIN_FILES _outputfile _registertype ) include(LocatePythonModule) locate_python_module(make-plugin-reg REQUIRED PATHS ${CMAKE_SOURCE_DIR}/tools) ADD_CUSTOM_COMMAND( OUTPUT ${_outputfile} COMMAND ${PYTHON_EXECUTABLE} ${PY_MAKE-PLUGIN-REG} ${CMAKE_CURRENT_SOURCE_DIR} ${_registertype} ${ARGN} DEPENDS ${ARGN} ${PY_MAKE-PLUGIN-REG} ) ENDMACRO(REGISTER_PLUGIN_FILES)