[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-rc / CMakeLists.txt
blob71b79942b41e24a056a2855449a4ec5cfcaa3e0d
1 set(LLVM_LINK_COMPONENTS
2   Object
3   Option
4   Support
5   )
7 set(LLVM_TARGET_DEFINITIONS Opts.td)
8 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
9 add_public_tablegen_target(RcOptsTableGen)
11 set(LLVM_TARGET_DEFINITIONS WindresOpts.td)
12 tablegen(LLVM WindresOpts.inc -gen-opt-parser-defs)
13 add_public_tablegen_target(WindresOptsTableGen)
15 add_llvm_tool(llvm-rc
16   llvm-rc.cpp
17   ResourceFileWriter.cpp
18   ResourceScriptCppFilter.cpp
19   ResourceScriptParser.cpp
20   ResourceScriptStmt.cpp
21   ResourceScriptToken.cpp
22   )
24 add_llvm_tool_symlink(llvm-windres llvm-rc)
26 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
27   add_llvm_tool_symlink(windres llvm-rc)
28 endif()