cmake_minimum_required(VERSION 3.29) project(ConjureEngine) set(CMAKE_CXX_STANDARD 17) # Set the architecture (assuming you're passing the architecture as a CMake variable) # Replace 'x64' with your system's architecture, or set this dynamically based on the system if(NOT DEFINED ARCH) set(ARCH x64) # You can change this to x86 or any other architecture you are targeting endif() # Set common output directories set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/intermediates/${ARCH}/${PROJECT_NAME}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/${ARCH}/${PROJECT_NAME}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/${ARCH}/${PROJECT_NAME}) find_package(glm REQUIRED) find_package(Vulkan REQUIRED) add_library(${PROJECT_NAME} STATIC src/ConjureEngine/ConjureEngine.h src/ConjureEngine/ConjureEngine.cpp) target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS}) # Specify include directories target_include_directories(ConjureEngine PUBLIC include)