Properly link flecs library
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
)
|
||||
(.)
|
||||
.|.
|
||||
| |
|
||||
_.--| |--._
|
||||
.-'; ;`-'& ; `&.
|
||||
\ & ; & &_/
|
||||
|"""---...---"""|
|
||||
\ | | | | | | | /
|
||||
`---.|.|.|.---'
|
||||
|
||||
* This file is generated by bake.lang.c for your convenience. Headers of
|
||||
* dependencies will automatically show up in this file. Include bake_config.h
|
||||
* in your main project file. Do not edit! */
|
||||
|
||||
#ifndef FLECS_OS_API_STDCPP_BAKE_CONFIG_H
|
||||
#define FLECS_OS_API_STDCPP_BAKE_CONFIG_H
|
||||
|
||||
/* Headers of public dependencies */
|
||||
#include <flecs.h>
|
||||
|
||||
/* Convenience macro for exporting symbols */
|
||||
#ifndef flecs_os_api_stdcpp_STATIC
|
||||
#if defined(flecs_os_api_stdcpp_EXPORTS) && (defined(_MSC_VER) || defined(__MINGW32__))
|
||||
#define FLECS_OS_API_STDCPP_API __declspec(dllexport)
|
||||
#elif defined(flecs_os_api_stdcpp_EXPORTS)
|
||||
#define FLECS_OS_API_STDCPP_API __attribute__((__visibility__("default")))
|
||||
#elif defined(_MSC_VER)
|
||||
#define FLECS_OS_API_STDCPP_API __declspec(dllimport)
|
||||
#else
|
||||
#define FLECS_OS_API_STDCPP_API
|
||||
#endif
|
||||
#else
|
||||
#define FLECS_OS_API_STDCPP_API
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef FLECS_OS_API_STDCPP_H
|
||||
#define FLECS_OS_API_STDCPP_H
|
||||
|
||||
/* This generated file contains includes for project dependencies */
|
||||
#include "flecs-os_api-stdcpp/bake_config.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FLECS_OS_API_STDCPP_API
|
||||
extern void stdcpp_set_os_api(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user