Skip to content

Commit 2259738

Browse files
Merge pull request #5 from Neko-Box-Coder/NewYAML_Format
New yaml format
2 parents 2b269cf + a5c1996 commit 2259738

33 files changed

+2025
-1158
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,18 @@ endif()
6363
# runcpp2
6464
# =========================================================================
6565

66-
add_executable(runcpp2 "${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/CompilerInfo.cpp"
66+
add_executable(runcpp2
6767
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/Profile.cpp"
6868
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/DependencyInfo.cpp"
6969
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/DependencyLinkProperty.cpp"
70-
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/DependencySetup.cpp"
70+
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/DependencyCommands.cpp"
7171
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/DependencySource.cpp"
7272
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/FileProperties.cpp"
7373
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/FlagsOverrideInfo.cpp"
7474
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/ProfilesFlagsOverride.cpp"
75-
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/LinkerInfo.cpp"
7675
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/ScriptInfo.cpp"
76+
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/FilesTypesInfo.cpp"
77+
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/Data/StageInfo.cpp"
7778
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/ProfileHelper.cpp"
7879
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/CompilingLinking.cpp"
7980
"${CMAKE_CURRENT_LIST_DIR}/Src/runcpp2/ConfigParsing.cpp"

DefaultYAMLs/DefaultScriptInfo.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Dependencies:
6363
# (Optional if LibraryType is Header) Link properties of the dependency
6464
LinkProperties:
6565
# Properties for searching the library binary for the profile
66+
# You can also use "All" if all compilers use the same values
6667
"g++":
6768
# The library names to be searched for when linking against the script
6869
SearchLibraryNames: ["MyLibrary"]
@@ -77,12 +78,17 @@ Dependencies:
7778
AdditionalLinkOptions:
7879
All: []
7980

81+
# TODO: Cleanup?
82+
83+
# TODO: Build?
84+
8085

8186
# (Optional) List of setup commands for each platform
8287
Setup:
8388
All:
8489
# Setup shell commands for the specified profile.
8590
# All commands are run in the dependency folder
91+
# You can also use "All" if all the compilers run the same setup commands
8692
"g++":
8793
- "mkdir build"
8894
- "cd build && cmake .."

0 commit comments

Comments
 (0)