mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-16 00:00:06 +01:00
41 lines
1.2 KiB
CMake
41 lines
1.2 KiB
CMake
cmake_minimum_required(VERSION 3.7)
|
|
include(../../cmake/HermitCore-Application.cmake)
|
|
|
|
project(hermit_tests C CXX Fortran Go)
|
|
|
|
add_executable(hello hello.c)
|
|
add_executable(jacobi jacobi.c)
|
|
add_executable(argv_envp argv_envp.c)
|
|
add_executable(hello++ hello++.cpp)
|
|
add_executable(hellof hellof.f90)
|
|
add_executable(pi pi.go)
|
|
|
|
add_executable(ib-test ib-test.c)
|
|
#add_executable(ib-pingpong ib/pingpong.c ib/pingpong.h ib/pingpong-ud.c)
|
|
|
|
add_executable(ib-pingpong-ud ib/pingpong.c ib/pingpong-ud.c)
|
|
add_executable(ib-pingpong-rc ib/pingpong.c ib/pingpong-rc.c)
|
|
|
|
#target_link_libraries(ib-test ibverbs)
|
|
|
|
add_executable(test-malloc test-malloc.c)
|
|
add_executable(test-malloc-mt test-malloc-mt.c)
|
|
target_compile_options(test-malloc-mt PRIVATE -pthread)
|
|
target_link_libraries(test-malloc-mt pthread)
|
|
|
|
add_executable(server server.go)
|
|
target_link_libraries(server netgo)
|
|
|
|
add_executable(RCCE_minimum RCCE_minimum.c)
|
|
target_link_libraries(RCCE_minimum ircce)
|
|
|
|
add_executable(thr_hello thr_hello.c)
|
|
target_compile_options(thr_hello PRIVATE -pthread)
|
|
target_link_libraries(thr_hello pthread)
|
|
|
|
add_executable(signals signals.c)
|
|
target_compile_options(signals PRIVATE -pthread)
|
|
target_link_libraries(signals pthread)
|
|
|
|
# deployment
|
|
install_local_targets(extra/tests)
|