cmake: add playstation2 support

This commit is contained in:
Anonymous Maarten
2021-01-02 20:40:59 +01:00
parent 4d260a631b
commit 1275b70e9d
13 changed files with 151 additions and 34 deletions

View File

@ -0,0 +1,25 @@
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()