mirror of
https://github.com/aap/librw.git
synced 2024-11-25 13:15:43 +00:00
26 lines
426 B
CMake
26 lines
426 B
CMake
|
add_executable(ps2test
|
||
|
gs.h
|
||
|
main.cpp
|
||
|
mem.h
|
||
|
ps2.h
|
||
|
vu/defaultpipe.dsm
|
||
|
vu/skinpipe.dsm
|
||
|
)
|
||
|
|
||
|
target_link_libraries(ps2test
|
||
|
PUBLIC
|
||
|
librw
|
||
|
kernel
|
||
|
)
|
||
|
|
||
|
add_erl_executable(PS2TEST_ERL ps2test)
|
||
|
|
||
|
if(LIBRW_INSTALL)
|
||
|
install(TARGETS ps2test
|
||
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||
|
)
|
||
|
install(FILES "${PS2TEST_ERL}"
|
||
|
DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||
|
)
|
||
|
endif()
|