mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
7 lines
328 B
CMake
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() |