rename voxel_engine.cpp to main.cpp
This commit is contained in:
parent
3e01a399f9
commit
27acc1d8b1
@ -12,7 +12,7 @@ option(VOXELENGINE_BUILD_TESTS OFF)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_subdirectory(src)
|
||||
add_executable(${PROJECT_NAME} src/voxel_engine.cpp)
|
||||
add_executable(${PROJECT_NAME} src/main.cpp)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||
|
||||
if(VOXELENGINE_BUILD_APPDIR)
|
||||
|
||||
@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
|
||||
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/voxel_engine.cpp)
|
||||
list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user