[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Fw: Could you help me for debugging FreeType library?
From: |
suzuki toshiya |
Subject: |
Re: [ft] Fw: Could you help me for debugging FreeType library? |
Date: |
Fri, 3 May 2019 03:00:25 +0000 |
Dear Lawrence,
> if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
> ... set various compiler flags ...
> endif()
Indeed, indeed, indeed. I guess the definition of
appropriate compiler flags for each build type is
the responsibility of the author of CMakeLists.txt.
BTW, does cmake have any hardwired database for
the available flags for each compilers? I can check
for gcc and clang, but I'm not sure about other
proprietary compilers...
Regards,
mpsuzuki
Lawrence D'Oliveiro wrote:
> On Fri, 3 May 2019 02:11:30 +0000, suzuki toshiya wrote:
>
>> It seems that cmake experts have left FreeType, so I try to respond
>> you although I'm not an expert.
>
> I’ve done a little bit of messing about with CMake. While
> CMAKE_BUILD_TYPE is a standard variable
> <https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Fv3.0%2Fvariable%2FCMAKE_BUILD_TYPE.html&data=02%7C01%7Cmpsuzuki%40hiroshima-u.ac.jp%7C5facb857072847f399d408d6cf729acd%7Cc40454ddb2634926868d8e12640d3750%7C1%7C0%7C636924488476379322&sdata=SZrNonc8xJbd%2BEiMR28F4COpMxHNJ97rDFsXMu5hedg%3D&reserved=0>,
> I
> think its meaning is mostly up to the build scripts. For example, in
> the Blender source tree, you see things like
> <https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.blender.org%2Fgitweb%2Fgitweb.cgi%2Fblender.git%2Fblob%2FHEAD%3A%2FCMakeLists.txt&data=02%7C01%7Cmpsuzuki%40hiroshima-u.ac.jp%7C5facb857072847f399d408d6cf729acd%7Cc40454ddb2634926868d8e12640d3750%7C1%7C0%7C636924488476379322&sdata=r4jilvz%2B0KRU4qdgbp%2BAgtEh7rsTTbPq3V5Lwxwmga0%3D&reserved=0>:
>
> if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
> ... set various compiler flags ...
> endif()
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.nongnu.org%2Fmailman%2Flistinfo%2Ffreetype&data=02%7C01%7Cmpsuzuki%40hiroshima-u.ac.jp%7C5facb857072847f399d408d6cf729acd%7Cc40454ddb2634926868d8e12640d3750%7C1%7C0%7C636924488476379322&sdata=BNad5iCJ4a6l1dwykzsdgUTivzTEutwuXPWjgbldQ2M%3D&reserved=0
Re: [ft] Fw: Could you help me for debugging FreeType library?, suzuki toshiya, 2019/05/03