fix some cmake
This commit is contained in:
parent
ccaf652d46
commit
db93ec782f
|
|
@ -7,8 +7,8 @@ set(CMAKE_CXX_STANDARD 23)
|
||||||
include(CMake/CreateResources.cmake)
|
include(CMake/CreateResources.cmake)
|
||||||
|
|
||||||
option(COMPILE_PLAYER "Compile the RNR player" ON)
|
option(COMPILE_PLAYER "Compile the RNR player" ON)
|
||||||
option(COMPILE_PLAYER "Compile the RNR studio" ON)
|
option(COMPILE_STUDIO "Compile the RNR studio" ON)
|
||||||
option(COMPILE_PLAYER "Compile the RNR server" ON)
|
option(COMPILE_SERVER "Compile the RNR server" ON)
|
||||||
|
|
||||||
set(DEPENDENCIES_DIR ${CMAKE_SOURCE_DIR}/Dependencies)
|
set(DEPENDENCIES_DIR ${CMAKE_SOURCE_DIR}/Dependencies)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
include_directories(Engine/Header)
|
include_directories(Engine/Header)
|
||||||
|
|
||||||
|
add_subdirectory(${DEPENDENCIES_DIR}/Luau Build)
|
||||||
|
|
||||||
add_subdirectory(Engine)
|
add_subdirectory(Engine)
|
||||||
add_subdirectory(Client)
|
add_subdirectory(Client)
|
||||||
|
|
||||||
add_subdirectory(${DEPENDENCIES_DIR}/Luau Build)
|
|
||||||
target_link_libraries(Engine Luau.Analysis)
|
|
||||||
target_link_libraries(Engine Luau.Ast)
|
|
||||||
target_link_libraries(Engine Luau.Compiler)
|
|
||||||
target_link_libraries(Engine Luau.VM)
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
project(Engine)
|
project(Engine)
|
||||||
|
|
||||||
add_library(engine STATIC
|
add_library(Engine STATIC
|
||||||
Header/Helpers/Name.hpp
|
Header/Helpers/Name.hpp
|
||||||
Header/Helpers/Strings.hpp
|
Header/Helpers/Strings.hpp
|
||||||
Header/App/V8/DataModel/ForceField.hpp
|
Header/App/V8/DataModel/ForceField.hpp
|
||||||
|
|
@ -18,4 +18,4 @@ add_library(engine STATIC
|
||||||
Source/Rendering/Adorn.cpp
|
Source/Rendering/Adorn.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} cglm)
|
target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} cglm Luau.Analysis Luau.Ast Luau.Compiler Luau.VM)
|
||||||
Loading…
Reference in New Issue