psOff_public/modules/setupModule.cmake
2024-03-15 18:03:40 +01:00

7 lines
328 B
CMake

function(setupModule _Target)
add_custom_command(TARGET ${_Target} POST_BUILD
COMMAND $<TARGET_FILE:dll2Nids> ${CMAKE_CURRENT_BINARY_DIR}/${_Target}.dll "${CMAKE_BINARY_DIR}/symbols"
)
add_dependencies(${_Target} logging dll2Nids)
install(FILES $<TARGET_PDB_FILE:${_Target}> DESTINATION debug OPTIONAL)
endfunction()