error handling layer implemented, header boilerplated for licensing info

This commit is contained in:
Chris Punches
2025-02-27 01:57:21 -05:00
parent e30ed309bd
commit a5e2c86882
14 changed files with 855 additions and 204 deletions

View File

@@ -11,6 +11,10 @@ add_executable(
src/dpm.cpp
src/ModuleLoader.cpp
src/dpm_interface.cpp
src/error.cpp
include/dpm_interface_helpers.hpp
src/dpm_interface_helpers.cpp
src/handlers.cpp
)
target_include_directories(dpm PRIVATE include)
@@ -19,7 +23,7 @@ target_link_libraries(dpm dl)
# Add the info module
add_library(info MODULE modules/info.cpp)
set_target_properties(info PROPERTIES
PREFIX "" # Remove lib prefix
PREFIX ""
SUFFIX ".so"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/modules"
)