some cleanup

This commit is contained in:
blueloveTH 2024-01-20 23:12:04 +08:00
parent 0895145529
commit 067c333de9
4 changed files with 7 additions and 14 deletions

View File

@ -8,14 +8,6 @@ set(CMAKE_CXX_STANDARD 17)
include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
include_directories(${CMAKE_CURRENT_LIST_DIR}/../pocketpy/include)
if(MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8 /O2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /utf-8 /O2")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -O2")
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(

View File

@ -178,14 +178,14 @@ All kinds of contributions are welcome.
If you find pkpy useful, consider star this repository (●'◡'●)
## Sponsor me
## Sponsor this project
You can sponsor me via these ways.
You can sponsor this project via these ways.
+ [Github Sponsors](https://github.com/sponsors/blueloveTH)
+ [Buy me a coffee](https://www.buymeacoffee.com/blueloveth)
Your sponsorship will help me develop this project continuously.
Your sponsorship will help us develop pkpy continuously.
## Reference

View File

@ -45,11 +45,11 @@ These platforms are officially tested.
If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy) (●'◡'●)
## Sponsor me
## Sponsor this project
You can sponsor me via these ways.
You can sponsor this project via these ways.
+ [Github Sponsors](https://github.com/sponsors/blueloveTH)
+ [Buy me a coffee](https://www.buymeacoffee.com/blueloveth)
Your sponsorship will help me develop this project continuously.
Your sponsorship will help us develop pkpy continuously.

View File

@ -85,6 +85,7 @@ class FitAddon {
}
}
/******************************************************/
const term = new Terminal(
{