Userspace: Add shared library test
I will use this while testing my dynamic loader
This commit is contained in:
parent
57300687ff
commit
991647bc8f
|
@ -6,6 +6,7 @@ set(USERSPACE_TESTS
|
|||
test-mouse
|
||||
test-popen
|
||||
test-setjmp
|
||||
test-shared
|
||||
test-sort
|
||||
test-tcp
|
||||
test-udp
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(test-shared ${SOURCES})
|
||||
banan_link_library(test-shared libc-shared)
|
||||
|
||||
install(TARGETS test-shared OPTIONAL)
|
|
@ -0,0 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("printf works!\n");
|
||||
}
|
Loading…
Reference in New Issue