Replace paths and windows APIs, cleanup source tree
This commit is contained in:
@@ -6,6 +6,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
add_subdirectory(src/miles)
|
||||
|
||||
file(GLOB_RECURSE WORLD_SOURCES ${PROJECT_SOURCE_DIR}/src/world/*.cpp)
|
||||
add_library(world STATIC ${WORLD_SOURCES})
|
||||
|
||||
@@ -14,4 +16,6 @@ target_include_directories(world PUBLIC
|
||||
${PROJECT_SOURCE_DIR}/src/world/x64headers
|
||||
${PROJECT_SOURCE_DIR}/src/client
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
)
|
||||
${PROJECT_SOURCE_DIR}/src/miles/mss
|
||||
)
|
||||
target_link_libraries(world PUBLIC milesstub)
|
||||
Reference in New Issue
Block a user