-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract System.Text to a separate class lib (#1507)
- Loading branch information
1 parent
73389fa
commit b433507
Showing
17 changed files
with
226 additions
and
216 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
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,37 @@ | ||
# | ||
# Copyright (c) 2019 The nanoFramework project contributors | ||
# See LICENSE file in the project root for full license information. | ||
# | ||
|
||
|
||
# set include directories | ||
list(APPEND nanoFramework.System.Text_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/src/HAL/Include") | ||
list(APPEND nanoFramework.System.Text_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/src/nanoFramework.System.Text") | ||
|
||
# source files | ||
set(nanoFramework.System.Text_SRCS | ||
|
||
# source files of the assembly | ||
nf_system_text_System_Text_UTF8Decoder.cpp | ||
nf_system_text_System_Text_UTF8Encoding.cpp | ||
nf_system_text.cpp | ||
) | ||
|
||
foreach(SRC_FILE ${nanoFramework.System.Text_SRCS}) | ||
set(nanoFramework.System.Text_SRC_FILE SRC_FILE-NOTFOUND) | ||
find_file(nanoFramework.System.Text_SRC_FILE ${SRC_FILE} | ||
PATHS | ||
|
||
# path for source files of this module | ||
${PROJECT_SOURCE_DIR}/src/nanoFramework.System.Text | ||
|
||
CMAKE_FIND_ROOT_PATH_BOTH | ||
) | ||
# message("${SRC_FILE} >> ${nanoFramework.System.Text_SRC_FILE}") # debug helper | ||
list(APPEND nanoFramework.System.Text_SOURCES ${nanoFramework.System.Text_SRC_FILE}) | ||
endforeach() | ||
|
||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(nanoFramework.System.Text DEFAULT_MSG nanoFramework.System.Text_INCLUDE_DIRS nanoFramework.System.Text_SOURCES) |
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
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
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
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
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
Oops, something went wrong.