basic cmake configuration that should be changed

This commit is contained in:
floralrainfall 2023-07-06 17:51:21 -04:00
parent 91759aa4f9
commit 1dad903967
6 changed files with 53 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
build

34
CMakeLists.txt Normal file
View File

@ -0,0 +1,34 @@
cmake_minimum_required(VERSION 3.4)
project(Engine)
project(RBXNuServer)
project(RBXNuStudio)
project(RBXNuPlayer)
add_library(Engine STATIC
roblox/engine/RBXNu.cpp
)
add_executable(RBXNuServer
roblox/server/RBXNuServer.cpp
)
add_executable(RBXNuStudio
roblox/studio/RBXNuStudio.cpp
)
add_executable(RBXNuPlayer
roblox/player/RBXNuPlayer.cpp
)
target_link_libraries(RBXNuServer
Engine
)
target_link_libraries(RBXNuStudio
Engine
)
target_link_libraries(RBXNuPlayer
Engine
)

0
roblox/engine/RBXNu.cpp Normal file
View File

View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
printf("Hello World");
}

View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
printf("Hello World");
}

View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
printf("Hello World");
}