Updated build env
This commit is contained in:
+13
-6
@@ -5,14 +5,21 @@ add_library(${ENGINE_NAME} STATIC)
|
||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||
file(GLOB_RECURSE HEADERS include/*.hpp)
|
||||
|
||||
target_sources(${ENGINE_NAME} PRIVATE
|
||||
${SOURCES}
|
||||
# ${HEADERS}
|
||||
target_sources(${ENGINE_NAME} PRIVATE
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
target_include_directories(${ENGINE_NAME} PRIVATE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src"
|
||||
)
|
||||
|
||||
target_include_directories(${ENGINE_NAME} PUBLIC
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/include"
|
||||
"${CMAKE_SOURCE_DIR}/third_party/imgui"
|
||||
"${CMAKE_SOURCE_DIR}/third_party/imgui/backends"
|
||||
)
|
||||
|
||||
target_link_libraries(${ENGINE_NAME} PUBLIC
|
||||
vulkan
|
||||
glfw
|
||||
glm
|
||||
imgui
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user