-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from takkaO/develop
Release update v1.0
- Loading branch information
Showing
40 changed files
with
12,983 additions
and
2,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
Write-Host "Execute CopyLibs.ps1" | ||
Write-Host "" | ||
./CopyLibs.ps1 | ||
|
||
Write-Host "" | ||
Write-Host "Execute ModifyLibs.ps1" | ||
Write-Host "" | ||
./ModifyLibs.ps1 | ||
./ModifyLibs.ps1 | ||
|
||
Write-Host "" | ||
Write-Host "Execute Export_CMakeLists.ps1" | ||
Write-Host "" | ||
./Export_CMakeLists.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
#!/bin/bash | ||
|
||
echo "Execute CopyLibs.ps1" | ||
echo "Execute CopyLibs.sh" | ||
echo "" | ||
./CopyLibs.sh | ||
|
||
echo "" | ||
echo "Execute ModifyLibs.ps1" | ||
echo "Execute ModifyLibs.sh" | ||
echo "" | ||
./ModifyLibs.sh | ||
./ModifyLibs.sh | ||
|
||
echo "" | ||
echo "Execute Export_CMakeLists.sh" | ||
echo "" | ||
./Export_CMakeLists.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# This file was automatically created by "Export_CMakeLists" script. | ||
|
||
set(srcs | ||
"./src/base/basepic.c" | ||
"./src/base/ftadvanc.c" | ||
"./src/base/ftapi.c" | ||
"./src/base/ftbase.c" | ||
"./src/base/ftbbox.c" | ||
"./src/base/ftbdf.c" | ||
"./src/base/ftbitmap.c" | ||
"./src/base/ftcalc.c" | ||
"./src/base/ftcid.c" | ||
"./src/base/ftdbgmem.c" | ||
"./src/base/ftdebug.c" | ||
"./src/base/ftfstype.c" | ||
"./src/base/ftgasp.c" | ||
"./src/base/ftgloadr.c" | ||
"./src/base/ftglyph.c" | ||
"./src/base/ftgxval.c" | ||
"./src/base/ftinit.c" | ||
"./src/base/ftlcdfil.c" | ||
"./src/base/ftmm.c" | ||
"./src/base/ftobjs.c" | ||
"./src/base/ftotval.c" | ||
"./src/base/ftoutln.c" | ||
"./src/base/ftpatent.c" | ||
"./src/base/ftpfr.c" | ||
"./src/base/ftpic.c" | ||
"./src/base/ftrfork.c" | ||
"./src/base/ftsnames.c" | ||
"./src/base/ftstream.c" | ||
"./src/base/ftstroke.c" | ||
"./src/base/ftsynth.c" | ||
"./src/base/ftsystem.cpp" | ||
"./src/base/fttrigon.c" | ||
"./src/base/fttype1.c" | ||
"./src/base/ftutil.c" | ||
"./src/base/ftwinfnt.c" | ||
"./src/base/ftxf86.c" | ||
"./src/base/md5.c" | ||
"./src/cache/ftcache.c" | ||
"./src/cache/ftcbasic.c" | ||
"./src/cache/ftccache.c" | ||
"./src/cache/ftccmap.c" | ||
"./src/cache/ftcglyph.c" | ||
"./src/cache/ftcimage.c" | ||
"./src/cache/ftcmanag.c" | ||
"./src/cache/ftcmru.c" | ||
"./src/cache/ftcsbits.c" | ||
"./src/sfnt/sfdriver.c" | ||
"./src/sfnt/sfnt.c" | ||
"./src/sfnt/sfntpic.c" | ||
"./src/sfnt/sfobjs.c" | ||
"./src/sfnt/ttbdf.c" | ||
"./src/sfnt/ttcmap.c" | ||
"./src/sfnt/ttkern.c" | ||
"./src/sfnt/ttload.c" | ||
"./src/sfnt/ttmtx.c" | ||
"./src/sfnt/ttpost.c" | ||
"./src/sfnt/ttsbit.c" | ||
"./src/sfnt/ttsbit0.c" | ||
"./src/smooth/ftgrays.c" | ||
"./src/smooth/ftsmooth.c" | ||
"./src/smooth/ftspic.c" | ||
"./src/smooth/smooth.c" | ||
"./src/truetype/truetype.c" | ||
"./src/truetype/ttdriver.c" | ||
"./src/truetype/ttgload.c" | ||
"./src/truetype/ttinterp.c" | ||
"./src/truetype/ttobjs.c" | ||
"./src/truetype/ttpic.c" | ||
"./src/truetype/ttpload.c" | ||
"./src/truetype/ttsubpix.c" | ||
"./src/FileSupport.cpp" | ||
"./src/OpenFontRender.cpp" | ||
) | ||
idf_component_register(SRCS ${srcs} | ||
INCLUDE_DIRS | ||
"./src" | ||
"./src/base" | ||
"./src/cache" | ||
"./src/freetype" | ||
"./src/sfnt" | ||
"./src/smooth" | ||
"./src/truetype" | ||
"./src/freetype/config" | ||
"./src/freetype/internal" | ||
"./src/freetype/internal/services" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# ------------------------------------------------------- | ||
# Export_CMakeLists.ps1 | ||
# | ||
# Copyright (c) 2022 takkaO | ||
# | ||
# If you use, modify, or redistribute this file independently | ||
# of the original repository, this program is licensed under | ||
# the MIT License. | ||
# | ||
# If you use, modify or redistribute this file as part of | ||
# the original repository, please follow the repository's license. | ||
# | ||
# ------------------------------------------------------- | ||
|
||
Write-Host "** Start create CMakeLists.txt **" | ||
|
||
## Clean CMakeLists.txt | ||
Write-Host "Processing clear old CMakeLists.txt" | ||
Write-Output "# This file was automatically created by `"Export_CMakeLists`" script.`n" | Set-Content CMakeLists.txt | ||
|
||
## Search source files | ||
Write-Host "Processing search C/C++ source files" | ||
$lst = Get-ChildItem -Path "./src" -File -Recurse -Include *.c,*.cpp | Resolve-Path -Relative | ||
$lst = $lst -replace '\\', "/" | ||
|
||
Write-Output "set(srcs " | Add-Content CMakeLists.txt | ||
foreach ($f in $lst) { | ||
# Space for indent | ||
Write-Output " `"$($f)`"" | Add-Content CMakeLists.txt | ||
} | ||
Write-Output ")" | Add-Content CMakeLists.txt | ||
|
||
## Search include directory | ||
Write-Host "Processing search include directories" | ||
$lst = Get-ChildItem -Path "./src" -Directory -Recurse | Resolve-Path -Relative | ||
$lst = $lst -replace '\\', "/" | ||
|
||
Write-Output "idf_component_register(SRCS `${srcs}" | Add-Content CMakeLists.txt | ||
Write-Output " INCLUDE_DIRS" | Add-Content CMakeLists.txt | ||
Write-Output " `"./src`"" | Add-Content CMakeLists.txt | ||
foreach ($f in $lst) { | ||
# Space for indent | ||
Write-Output " `"$($f)`"" | Add-Content CMakeLists.txt | ||
} | ||
Write-Output ")" | Add-Content CMakeLists.txt | ||
|
||
Write-Host "** Finish create CMakeLists.txt **" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
# ------------------------------------------------------- | ||
# Export_CMakeLists.sh | ||
# | ||
# Copyright (c) 2022 takkaO | ||
# | ||
# If you use, modify, or redistribute this file independently | ||
# of the original repository, this program is licensed under | ||
# the MIT License. | ||
# | ||
# If you use, modify or redistribute this file as part of | ||
# the original repository, please follow the repository's license. | ||
# | ||
# ------------------------------------------------------- | ||
|
||
echo "** Start create CMakeLists.txt **" | ||
|
||
## Clean CMakeLists.txt | ||
echo "Processing clear old CMakeLists.txt" | ||
echo -e "# This file was automatically created by \"Export_CMakeLists\" script.\n" > CMakeLists.txt | ||
|
||
## Search source files | ||
echo "Processing search C/C++ source files" | ||
lst=$(find "./src" -type f -name "*.c" -or -name "*.cpp") | ||
|
||
echo "set(srcs " >> CMakeLists.txt | ||
for f in $lst; do | ||
# Space for indent | ||
echo " "\"$f\" >> CMakeLists.txt | ||
done | ||
echo ")" >> CMakeLists.txt | ||
|
||
## Search include directory | ||
echo "Processing search include directories" | ||
lst=$(find "./src" -type d) | ||
|
||
echo "idf_component_register(SRCS \${srcs}" >> CMakeLists.txt | ||
echo " INCLUDE_DIRS " >> CMakeLists.txt | ||
for f in $lst; do | ||
# Space for indent | ||
echo " "\"$f\" >> CMakeLists.txt | ||
done | ||
echo ")" >> CMakeLists.txt | ||
|
||
echo "** Finish create CMakeLists.txt **" |
Oops, something went wrong.