EtrediaEmpires/p7lib/Tests/Speed/CMakeLists.txt
legatt 32f4597c4d Base frontend module
- Naming style migrated to camel-case
- P7lib logger sources added
- Vcpkg manifest, CMake presets and build moved to root
- SDL2, Vulkan and RmlUi dependencies added
- Logger LOG macro added
- Logger  configuration
- SDL2 window configuration
- Vulkan configuration
- RmlUi configuration
- SDL event loop
2025-08-08 00:07:32 +03:00

21 lines
432 B
CMake

cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(p7_speed_test)
if(WIN32)
elseif(UNIX)
else()
message(FATAL_ERROR "${PROJECT_NAME}: Platform not supported")
endif()
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} PROJ_SOURCES)
add_executable(${PROJECT_NAME} ${PROJ_SOURCES})
target_link_libraries (${PROJECT_NAME} p7)
set_ide_folder(${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)