2022-09-14 19:11:38 +03:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/flipper_application",
|
|
|
|
],
|
|
|
|
SDK_HEADERS=[
|
2022-11-02 18:15:40 +03:00
|
|
|
File("flipper_application.h"),
|
2023-03-14 17:29:28 +03:00
|
|
|
File("plugins/plugin_manager.h"),
|
|
|
|
File("plugins/composite_resolver.h"),
|
|
|
|
File("api_hashtable/api_hashtable.h"),
|
|
|
|
File("api_hashtable/compilesort.hpp"),
|
2022-09-14 19:11:38 +03:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="flipper_application")
|
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
2023-03-14 17:29:28 +03:00
|
|
|
sources.append(File("api_hashtable/api_hashtable.cpp"))
|
2022-09-14 19:11:38 +03:00
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|