File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly")
161
161
${PROJECT_SOURCE_DIR} /rime.pc.in
162
162
${PROJECT_BINARY_DIR} /rime.pc
163
163
@ONLY)
164
- install (FILES src/rime_api.h DESTINATION include )
164
+ file (GLOB installed_header_files ${PROJECT_SOURCE_DIR} /src/*.h)
165
+ install (FILES ${installed_header_files} DESTINATION include )
165
166
install (FILES ${PROJECT_BINARY_DIR} /rime.pc DESTINATION ${LIB_INSTALL_DIR} /pkgconfig)
166
167
install (FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime)
167
168
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ build_script:
30
30
- .\build.bat test
31
31
32
32
after_build :
33
- - md build\include
34
- - copy /y src\*.h build\include
35
33
- 7z a rime.zip build\bin build\lib build\include thirdparty\data\opencc
36
34
- dir build /s
37
35
Original file line number Diff line number Diff line change @@ -234,6 +234,9 @@ echo building librime.
234
234
cmake --build build --config Release
235
235
if %ERRORLEVEL% NEQ 0 goto ERROR
236
236
237
+ mkdir build\include
238
+ copy /y src\*.h build\include
239
+
237
240
echo .
238
241
echo ready.
239
242
echo .
You can’t perform that action at this time.
0 commit comments