Adding Doxygen and CMake changes to support it

This commit is contained in:
NaifBanana
2026-04-02 02:41:24 -05:00
parent fe8d4b8e13
commit eb0ae43fae
5 changed files with 88 additions and 4 deletions
+17 -1
View File
@@ -1,11 +1,27 @@
include_directories(./.)
add_library(NBCore
set(NB_CORE_SOURCE
./src/Errors.cpp
./src/Processes.cpp
./src/Logger.cpp
)
set(NB_CORE_INCLUDE
ANSITerm.hpp
DataSink.hpp
Errors.hpp
Logger.hpp
Processes.hpp
ThreadsafeQueue.hpp
Types.hpp
TypeTraits.hpp
)
toAbsolutePath(ENVNB_CORE_SOURCE ${NB_CORE_SOURCE})
toAbsolutePath(ENVNB_CORE_INCLUDE ${NB_CORE_INCLUDE})
add_library(NBCore ${NB_CORE_SOURCE})
if (NB_BUILD_TESTS)
add_subdirectory(./tests)
endif()