Home » Developing U++ » U++ Developers corner » Want to use CLANG with MSBT64 toolchain (Wish for new Builder definition for bm-files)
Re: Want to use CLANG with MSBT64 toolchain [message #55981 is a reply to message #55979] |
Fri, 08 January 2021 19:12 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
You can create your own BM files. You can do that via GUI or by editing of a plain text file.
Below is my own BM file.
BUILDER = "CLANG";
COMPILER = "clang++";
COMMON_OPTIONS = "-fno-omit-frame-pointer -fstrict-enums";
COMMON_CPP_OPTIONS = "-std=c++17 -Wno-logical-op-parentheses";
COMMON_C_OPTIONS = "";
COMMON_LINK = "";
COMMON_FLAGS = "";
DEBUG_INFO = "2";
DEBUG_BLITZ = "1";
DEBUG_LINKMODE = "1";
DEBUG_OPTIONS = "-O0";
DEBUG_FLAGS = "";
DEBUG_LINK = "";
RELEASE_BLITZ = "1";
RELEASE_LINKMODE = "1";
RELEASE_OPTIONS = "-O3 -ffunction-sections -fdata-sections";
RELEASE_FLAGS = "";
RELEASE_LINK = "-Wl,--gc-sections";
DEBUGGER = "nemiver";
ALLOW_PRECOMPILED_HEADERS = "1";
DISABLE_BLITZ = "0";
PATH = "";
INCLUDE = "";
LIB = "/usr/lib/x86_64-linux-gnu/";
LINKMODE_LOCK = "0";
Some of the stuff in it is unneeded. I just need to clean it up at some point in time.
Assembler and resource compiler are hard-coded, AFAIK.
Hope this helps.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Wed May 15 12:51:23 CEST 2024
Total time taken to generate the page: 0.01652 seconds
|