aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rescompiler/bin/CMakeLists.txt
blob: 657cf9d403008ef92d167e00c8c91c41a3b3288b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
add_executable(rescompiler)
target_link_libraries(rescompiler PUBLIC
  contrib-libs-cxxsupp
  yutil
  library-cpp-cpuid_check
  library-cpp-resource
)
target_sources(rescompiler PRIVATE
  ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
)
target_link_flags(rescompiler
  PUBLIC
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -Wl,--gdb-index
  -fPIC
  -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld
  -Wl,--no-rosegment
  -lpthread
  -lrt
  -ldl
)
vcs_info(rescompiler)