diff --git a/readme.md b/readme.md index b1c9f15..17924a2 100644 --- a/readme.md +++ b/readme.md @@ -28,7 +28,9 @@ on linux you need: - boost >=1.67 and libzip-dev, physfs >= 3 - gcc >=9 -Then just run mkdir build && cd build && cmake .. && make -j8 +Then just run mkdir build && cd build && cmake .. -DUSE_STATIC_LIBS=OFF && make -j8 + +NOTICE: project comes with USE_STATIC_LIBS=ON set while libzip-dev is supplied with dynamic library only, so for linux build it is required to override USE_STATIC_LIBS to OFF ### Android diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index ad7aa1b..ba950f2 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -83,6 +83,8 @@ set(client_SOURCES ${client_SOURCES} ${CMAKE_CURRENT_LIST_DIR}/uiitem.h ${CMAKE_CURRENT_LIST_DIR}/uigraph.cpp ${CMAKE_CURRENT_LIST_DIR}/uigraph.h + ${CMAKE_CURRENT_LIST_DIR}/uigrid.cpp + ${CMAKE_CURRENT_LIST_DIR}/uigrid.h ${CMAKE_CURRENT_LIST_DIR}/uimap.cpp ${CMAKE_CURRENT_LIST_DIR}/uimap.h ${CMAKE_CURRENT_LIST_DIR}/uiminimap.cpp diff --git a/src/framework/CMakeLists.txt b/src/framework/CMakeLists.txt index 47a03b5..0d6897f 100644 --- a/src/framework/CMakeLists.txt +++ b/src/framework/CMakeLists.txt @@ -453,6 +453,8 @@ if(FRAMEWORK_GRAPHICS) ${CMAKE_CURRENT_LIST_DIR}/ui/uianchorlayout.h ${CMAKE_CURRENT_LIST_DIR}/ui/uiboxlayout.cpp ${CMAKE_CURRENT_LIST_DIR}/ui/uiboxlayout.h + ${CMAKE_CURRENT_LIST_DIR}/ui/uiflexbox.cpp + ${CMAKE_CURRENT_LIST_DIR}/ui/uiflexbox.h ${CMAKE_CURRENT_LIST_DIR}/ui/uigridlayout.cpp ${CMAKE_CURRENT_LIST_DIR}/ui/uigridlayout.h ${CMAKE_CURRENT_LIST_DIR}/ui/uihorizontallayout.cpp