-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optinally install demos and libs as well #5387
Conversation
Thank you! I fell like CMake gets complex enough to have it own file in the docs. Could you add a new |
Hey, I added some docs. Locally I'm using CMakePresets to build this project since this makes my live much easier. :D But If this is not desired I can of course remove the CMakePresets file ;) |
Thank you! I didn't know about CMakePreset so far, but it looks really great. However I'm no sure about /*I don't what __WIN__ could be in reality */
#define LV_USE_FS_WIN32 __WIN__ ? 1 : 0
...
#define LV_USE_WINDOWS __WIN__ ? 1 : 0 cc @W-Mai |
I haven't used CMakePreset either, but it looks great! I agree with this point. It is too expensive to maintain so many config files.😭 |
Alright. I Removed the Windows and Linux configs and adapted the presets. I decided to go with However the first test is failing. |
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
@kisvegabor By commenting out the stuff in the config I'm getting lots of warnings |
I don't know you why you see it. Let's see if this changes something. |
this is because of this
We have two options:
Which option would you prefer? |
I would prefer /* clang-format off */
#ifndef LV_CONF_H
#define LV_CONF_H
#if 0 /*Set it to "1" to enable content*/ however I don't see the root of the problem. It works for years like this. |
the problem is that lv_conf_internal checks for |
sorry this does not work. Or do you have another suggestion ? |
In your However , if you would like to not use |
alright I added LV_CONF_SKIP to my preset. It builds on Windows and WSL (GCC 12) |
@kisvegabor looks like I broke something. Unfortunately I have no clue what :O |
As the compile issues are related to ThorVG, I assume the problem is somewhere here. Note that in the ThorVG test these special options are enabled. cc @W-Mai @FASTSHIFT do you have any idea for the CI issue? |
@kisvegabor I have reverted the config changes. I don't need them anyway, I'm using my own config. For now this project builds with cmake on MSVC 17 :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Just a minor comment.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Looks good. I've just updated a few things in the docs. |
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
At the moment only lvgl files are installed. If you would like to build demos and examples as well, you have to install these files as well.