mirror of
https://github.com/openharmony/applications_calendar_data.git
synced 2026-07-01 20:14:02 -04:00
@@ -44,6 +44,8 @@ As a built-in basic application, Calendar implements basic user operations such
|
||||
|
||||
## How to Use
|
||||
|
||||
### Building based on IDE
|
||||
|
||||
Open a project in DevEco Studio and choose **Build > Build Haps(s)/APP(s) > Build Hap(s)**.
|
||||
|
||||

|
||||
@@ -56,6 +58,22 @@ Run the **hdc_std install "*hap package address*"** command to install the compi
|
||||
|
||||

|
||||
|
||||
### Building based OpenHarmony version
|
||||
|
||||
In the root directory of the OpenHarmony source code, run the following command to build the CalendarData separately:
|
||||
|
||||
```
|
||||
./build.sh --product-name rk3568 --ccache --build-target calendar_data
|
||||
```
|
||||
|
||||
> **NOTE**
|
||||
>
|
||||
> --**product-name** specifies the product name, for example, **rk3568**.
|
||||
>
|
||||
> --**ccache** specifies the cache function used during the compilation.
|
||||
>
|
||||
> --**build-target** specifies the component to build.
|
||||
|
||||
## Constraints
|
||||
- Development environments
|
||||
- DevEco Studio for OpenHarmony: version later than 3.1.1.101
|
||||
|
||||
@@ -44,6 +44,8 @@ Calendar作为内建基础应用,实现日月视图查看、日程创建查看
|
||||
|
||||
## 使用说明
|
||||
|
||||
### 基于IDE构建
|
||||
|
||||
在DevEco Studio打开项目工程,选择Build → Build Haps(s)/APP(s) → Build Hap(s)。
|
||||
|
||||

|
||||
@@ -56,6 +58,18 @@ Calendar作为内建基础应用,实现日月视图查看、日程创建查看
|
||||
|
||||

|
||||
|
||||
### 基于OpenHarmony版本构建
|
||||
|
||||
在OpenHarmony源码目录下,调用一下命令,单独编译calendar_data
|
||||
|
||||
```
|
||||
./build.sh --product-name rk3568 --ccache --build-target calendar_data
|
||||
```
|
||||
> **说明:**
|
||||
--product-name:产品名称,例如Hi3516DV300、rk3568等。
|
||||
--ccache:编译时使用缓存功能。
|
||||
--build-target: 编译的部件名称。
|
||||
|
||||
## 约束
|
||||
- 开发环境
|
||||
- **DevEco Studio for OpenHarmony**: 版本号大于3.1.1.101,下载安装OpenHarmony SDK API Version 10。(初始的IDE配置可以参考IDE的使用文档)
|
||||
|
||||
Reference in New Issue
Block a user