1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-08-04 07:01:46 +02:00

Restructure the whole plugin development kit.

This commit is contained in:
Sandu Liviu Catalin
2020-05-28 20:59:29 +03:00
parent acbca01e7a
commit 47f71625d8
17 changed files with 74 additions and 2717 deletions

View File

@@ -7,7 +7,6 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
# Several plugin options
option(BUILTIN_RUNTIMES "Include the MinGW runtime into the binary itself." ON)
option(FORCE_32BIT_BIN "Create a 32-bit executable binary if the compiler defaults to 64-bit." OFF)
option(PLUGIN_DEVEL "Switch to plugin development." OFF)
option(ENABLE_MYSQL "Enable the MySQL library." OFF)
option(ENABLE_API21 "Build for 2.1 API." OFF)
@@ -40,18 +39,7 @@ endif()
if(UNIX)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
# Include VCMP library
add_subdirectory(vcmp)
# Include Squirrel library
add_subdirectory(squirrel)
# Include Squat library
add_subdirectory(sqrat)
# Include SDK library
add_subdirectory(sdk)
if(PLUGIN_DEVEL)
# Include Sample module
add_subdirectory(hello)
else()
# Include Module library
add_subdirectory(module)
endif()
# Include Module library
add_subdirectory(module)