Refactored CMakeLists.txt

* new pip_module() macro
 * fixed exports
 * automatic gather all exports and pass them to Doxygen and PICodeParser
This commit is contained in:
2020-08-01 21:29:32 +03:00
parent 21111b3e67
commit c7ac4fa551
79 changed files with 389 additions and 531 deletions

View File

@@ -23,9 +23,10 @@
#ifndef PILUAPROGRAM_H
#define PILUAPROGRAM_H
#include "pip_lua_export.h"
#include "pip_lua.h"
class PILuaProgram
class PIP_LUA_EXPORT PILuaProgram
{
public:
//! Constructs an empty PILuaProgram, initialize Lua context
@@ -44,7 +45,7 @@ public:
luabridge::Namespace getGlobalNamespace();
private:
PRIVATE_DECLARATION
PRIVATE_DECLARATION(PIP_LUA_EXPORT)
};
#endif // PILUAPROGRAM_H