basic cmake configuration that should be changed
This commit is contained in:
parent
91759aa4f9
commit
1dad903967
|
|
@ -9,3 +9,4 @@ install_manifest.txt
|
|||
compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
_deps
|
||||
build
|
||||
|
|
@ -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,0 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello World");
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello World");
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello World");
|
||||
}
|
||||
Loading…
Reference in New Issue