set(TARGET_NAME "common") list(APPEND FILE_LIST colour.h defaults.cpp defaults.h dirs.cpp dirs.h events.h file.cpp file.h monthviewgen.cpp monthviewgen.h preferences.cpp preferences.h random.cpp random.h structs.h svrblist.cpp svrblist.h text.cpp text.h types.h uuid.cpp uuid.h) add_library(${TARGET_NAME} ${FILE_LIST}) target_include_directories(${TARGET_NAME} PUBLIC ".") add_dependencies(${TARGET_NAME} bitmapcode)