CMakeLists.txt 481 B

1234567891011121314
  1. cmake_minimum_required(VERSION 2.8.12)
  2. project("lvgl" C)
  3. include_directories("." "gen/" "binding/" "font/" "sdl2")
  4. file(GLOB_RECURSE SOURCES src/*.c)
  5. file(GLOB_RECURSE SOURCES_GEN gen/*.c)
  6. file(GLOB_RECURSE SOURCES_BINDING binding/*.c)
  7. file(GLOB_RECURSE SOURCES_FONT font/*.c)
  8. file(GLOB_RECURSE SOURCES_EXTS exts/*.c)
  9. file(GLOB_RECURSE SOURCES_SDL2 sdl2/*.c)
  10. add_library(lvgl STATIC ${SOURCES} ${SOURCES_GEN} ${SOURCES_BINDING} ${SOURCES_FONT} ${SOURCES_EXTS} ${SOURCES_SDL2})