Skip to content

Commit 9662e63

Browse files
Adding the ability to import other profile files
1 parent 8881935 commit 9662e63

File tree

11 files changed

+923
-513
lines changed

11 files changed

+923
-513
lines changed

CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,18 @@ if(RUNCPP2_UPDATE_DEFAULT_YAMLS OR EMBEDDED_FILE_SIZE LESS 1024)
111111
message(WARNING "Please build Embed2C first")
112112
return()
113113
else()
114-
set(FILES_TO_EMBED "${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/DefaultUserConfig.yaml"
114+
set(FILES_TO_EMBED "${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/DefaultUserConfig.yaml"
115115
"DefaultUserConfig"
116+
117+
"${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/CommonFileTypes.yaml"
118+
"CommonFileTypes"
119+
120+
"${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/g++.yaml"
121+
"G_PlusPlus"
122+
123+
"${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/vs2022_v17+.yaml"
124+
"Vs2022_v17Plus"
125+
116126
"${CMAKE_CURRENT_LIST_DIR}/DefaultYAMLs/DefaultScriptInfo.yaml"
117127
"DefaultScriptInfo"
118128
)

DefaultYAMLs/CommonFileTypes.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# DO NOT modify this file. Changes will be overwritten when there's a reset or update
2+
3+
FilesTypes:
4+
# The file properties for the files to be **linked** as object file for each platform
5+
ObjectLinkFile:
6+
Prefix:
7+
DefaultPlatform: ""
8+
Extension:
9+
Windows: ".obj"
10+
Unix: ".o"
11+
# The file properties for the files to be **linked** as shared libraries for each platform
12+
SharedLinkFile:
13+
Prefix:
14+
Windows: ""
15+
Linux: "lib"
16+
MacOS: ""
17+
Extension:
18+
Windows: ".lib"
19+
Linux: ".so"
20+
MacOS: ".dylib"
21+
# The file properties for the files to be **copied** as shared libraries for each platform
22+
SharedLibraryFile:
23+
Prefix:
24+
Windows: ""
25+
Linux: "lib"
26+
MacOS: ""
27+
Extension:
28+
Windows: ".dll"
29+
Linux: ".so"
30+
MacOS: ".dylib"
31+
# The file properties for the files to be linked as static libraries for each platform
32+
StaticLinkFile:
33+
Prefix:
34+
Unix: "lib"
35+
Windows: ""
36+
Extension:
37+
Windows: ".lib"
38+
Unix: ".a"
39+
# (Optional) The file properties for debug symbols to be copied alongside the binary
40+
# for each platform
41+
DebugSymbolFile:
42+
Prefix:
43+
Windows: ""
44+
Unix: ""
45+
Extension:
46+
Windows: ".pdb"
47+
Unix: ""

0 commit comments

Comments
 (0)