feat: engine as library
This commit is contained in:
10
sandbox/CMakeLists.txt
Normal file
10
sandbox/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
set(SANDBOX_TARGET sandbox)
|
||||
|
||||
add_executable(${SANDBOX_TARGET} src/main.cpp)
|
||||
|
||||
set_target_properties(${SANDBOX_TARGET} PROPERTIES
|
||||
CXX_STANDARD 17
|
||||
CXX_STANDARD_REQUIRED ON
|
||||
)
|
||||
|
||||
target_link_libraries(${SANDBOX_TARGET} PRIVATE ${ENGINE_TARGET})
|
6
sandbox/src/main.cpp
Normal file
6
sandbox/src/main.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
#include "engine/renderer/engine.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user