Refactored directory structure, added game files from TMP

This commit is contained in:
2023-12-04 21:54:28 +02:00
parent c35f861d97
commit ff3388e795
7726 changed files with 564910 additions and 17 deletions

28
src/liblua/CMakeLists.txt Normal file
View File

@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.0)
project(liblua CXX)
# Find source files
file(GLOB_RECURSE SOURCES
"src/*.c"
"src/*.h"
"include/*.h"
)
# Include header files
include_directories(
"include"
"src"
)
# Set the language to C++ on Visual Studio
if (MSVC)
SET_SOURCE_FILES_PROPERTIES(${SOURCES} PROPERTIES LANGUAGE CXX)
endif (MSVC)
# Create shared library
add_library(${PROJECT_NAME} STATIC ${SOURCES})
target_include_directories(${PROJECT_NAME} PUBLIC
"include"
"src"
)