implemented initial dpm core call functionality from module perspective
This commit is contained in:
@@ -15,15 +15,19 @@ add_executable(
|
||||
include/dpm_interface_helpers.hpp
|
||||
src/dpm_interface_helpers.cpp
|
||||
src/handlers.cpp
|
||||
src/module_interface.cpp
|
||||
)
|
||||
|
||||
target_include_directories(dpm PRIVATE include)
|
||||
target_link_libraries(dpm dl)
|
||||
|
||||
# Export symbols for dynamic loading
|
||||
target_link_options(dpm PRIVATE -rdynamic)
|
||||
|
||||
# Add the info module
|
||||
add_library(info MODULE modules/info.cpp)
|
||||
set_target_properties(info PROPERTIES
|
||||
PREFIX ""
|
||||
SUFFIX ".so"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/modules"
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user