feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -29,13 +29,13 @@ if env["builtin_miniupnpc"] and env["platform"] != "web":
|
|||
]
|
||||
thirdparty_sources = [thirdparty_dir + "src/" + file for file in thirdparty_sources]
|
||||
|
||||
env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
||||
env_upnp.Prepend(CPPEXTPATH=[thirdparty_dir + "include"])
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
|
||||
if env["platform"] != "windows":
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
||||
|
||||
env_thirdparty = env_upnp.Clone()
|
||||
env_thirdparty.Prepend(CPPPATH=[thirdparty_dir + "include/miniupnpc"])
|
||||
env_thirdparty.Prepend(CPPEXTPATH=[thirdparty_dir + "include/miniupnpc"])
|
||||
env_thirdparty.disable_warnings()
|
||||
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources)
|
||||
env.modules_sources += thirdparty_obj
|
||||
|
|
|
|||
|
|
@ -28,12 +28,9 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UPNP_REGISTER_TYPES_H
|
||||
#define UPNP_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_upnp_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_upnp_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // UPNP_REGISTER_TYPES_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UPNP_H
|
||||
#define UPNP_H
|
||||
#pragma once
|
||||
|
||||
#include "upnp_device.h"
|
||||
|
||||
|
|
@ -113,5 +112,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(UPNP::UPNPResult)
|
||||
|
||||
#endif // UPNP_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UPNP_DEVICE_H
|
||||
#define UPNP_DEVICE_H
|
||||
#pragma once
|
||||
|
||||
#include "core/object/ref_counted.h"
|
||||
|
||||
|
|
@ -90,5 +89,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(UPNPDevice::IGDStatus)
|
||||
|
||||
#endif // UPNP_DEVICE_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UPNP_DEVICE_MINIUPNP_H
|
||||
#define UPNP_DEVICE_MINIUPNP_H
|
||||
#pragma once
|
||||
|
||||
#ifndef WEB_ENABLED
|
||||
|
||||
|
|
@ -79,5 +78,3 @@ public:
|
|||
};
|
||||
|
||||
#endif // WEB_ENABLED
|
||||
|
||||
#endif // UPNP_DEVICE_MINIUPNP_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UPNP_MINIUPNP_H
|
||||
#define UPNP_MINIUPNP_H
|
||||
#pragma once
|
||||
|
||||
#ifndef WEB_ENABLED
|
||||
|
||||
|
|
@ -89,5 +88,3 @@ public:
|
|||
};
|
||||
|
||||
#endif // WEB_ENABLED
|
||||
|
||||
#endif // UPNP_MINIUPNP_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue