Update project name

This commit is contained in:
Alex Selimov 2025-04-16 07:38:58 -04:00
parent c9023f2f8b
commit 87d5b1ce42
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.9)
project(Vec3)
set(NAME "Vec3")
project(${NAME})
enable_testing()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
@ -27,7 +28,7 @@ if(DOXYGEN_FOUND)
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
message("Doxygen buld started")
add_custom_target(Doxygen_${CMAKE_PROJECT_NAME} ALL
add_custom_target(Doxygen_${NAME} ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen"