xref: /llvm-project/libc/startup/gpu/amdgpu/CMakeLists.txt (revision 1a92cc5a0ad108c515b1c383645ff70069c12077)
1add_startup_object(
2  crt1
3  SRC
4    start.cpp
5  DEPENDS
6    libc.config.app_h
7    libc.src.__support.RPC.rpc_client
8    libc.src.__support.GPU.utils
9    libc.src.stdlib.exit
10    libc.src.stdlib.atexit
11  COMPILE_OPTIONS
12    -ffreestanding # To avoid compiler warnings about calling the main function.
13    -fno-builtin
14)
15get_fq_target_name(crt1 fq_name)
16