@@ -108,9 +108,9 @@ namespace printer {
108
108
buildDirectory(Paths::getUtbotBuildDir(projectContext)),
109
109
buildDirectoryRelative(Paths::getRelativeUtbotBuildDir(projectContext)),
110
110
dependencyDirectory(buildDirectory / " dependencies" ),
111
- pathToShellVariable({{buildDirectory, " $(build_dir )" },
112
- {projectContext.projectPath , " $(project_dir )" },
113
- {buildDirectoryRelative, " $(build_relative )" }},
111
+ pathToShellVariable({{buildDirectory, " $(BUILD_DIR )" },
112
+ {projectContext.projectPath , " $(PROJECT_DIR )" },
113
+ {buildDirectoryRelative, " $(BUILD_RELATIVE )" }},
114
114
comparator
115
115
),
116
116
stubSources(stubSources) {
@@ -134,29 +134,29 @@ namespace printer {
134
134
135
135
declareShellVariable (" UTBOT_INSTALL" , Paths::getUTBotInstallDir (), declareVariableFunc);
136
136
137
- declareShellVariable (" access_privateLib " , Paths::getAccessPrivateLibPath (), declareVariableFunc);
137
+ declareShellVariable (" ACCESS_PRIVATE_LIB " , Paths::getAccessPrivateLibPath (), declareVariableFunc);
138
138
139
- declareShellVariable (" utbotDebsInstallDir " , Paths::getUTBotDebsInstallDir (), declareVariableFunc);
139
+ declareShellVariable (" UTBOT_DEBS_INSTALL_DIR " , Paths::getUTBotDebsInstallDir (), declareVariableFunc);
140
140
141
- declareShellVariable (" asanLib " , Paths::getAsanLibraryPath (), declareVariableFunc);
141
+ declareShellVariable (" ASAN_LIB " , Paths::getAsanLibraryPath (), declareVariableFunc);
142
142
143
- declareShellVariable (" clang " , Paths::getUTBotClang (), declareVariableWithPriorityFunc, false , false );
143
+ declareShellVariable (" CLANG " , Paths::getUTBotClang (), declareVariableWithPriorityFunc, false , false );
144
144
145
- declareShellVariable (" clangxx " , Paths::getUTBotClangPP (), declareVariableWithPriorityFunc, false , false );
145
+ declareShellVariable (" CLANGXX " , Paths::getUTBotClangPP (), declareVariableWithPriorityFunc, false , false );
146
146
147
- pathToShellVariable[Paths::getUTBotClang ()] = StringUtils::stringFormat (" $(%s)" , " clang " );
148
- pathToShellVariable[Paths::getUTBotClangPP ()] = StringUtils::stringFormat (" $(%s)" , " clangxx " );
147
+ pathToShellVariable[Paths::getUTBotClang ()] = StringUtils::stringFormat (" $(%s)" , " CLANG " );
148
+ pathToShellVariable[Paths::getUTBotClangPP ()] = StringUtils::stringFormat (" $(%s)" , " CLANGXX " );
149
149
150
- declareShellVariable (" gcc " , Paths::getGcc (), declareVariableFunc);
151
- declareShellVariable (" gxx " , Paths::getGpp (), declareVariableFunc);
150
+ declareShellVariable (" GCC " , Paths::getGcc (), declareVariableFunc);
151
+ declareShellVariable (" GXX " , Paths::getGpp (), declareVariableFunc);
152
152
153
- declareShellVariable (" ar " , Paths::getAr (), declareVariableIfNotDefinedFunc);
153
+ declareShellVariable (" AR " , Paths::getAr (), declareVariableIfNotDefinedFunc);
154
154
155
- declareShellVariable (" ldGold " , Paths::getLdGold (), declareVariableIfNotDefinedFunc);
155
+ declareShellVariable (" LD_GOLD " , Paths::getLdGold (), declareVariableIfNotDefinedFunc);
156
156
157
- declareShellVariable (" ld " , Paths::getLd (), declareVariableIfNotDefinedFunc);
157
+ declareShellVariable (" LD " , Paths::getLd (), declareVariableIfNotDefinedFunc);
158
158
159
- declareShellVariable (" gtest " , Paths::getGtestLibPath (), declareVariableWithPriorityFunc);
159
+ declareShellVariable (" GTEST " , Paths::getGtestLibPath (), declareVariableWithPriorityFunc);
160
160
161
161
declareAction (stringFormat (" $(shell mkdir -p %s >/dev/null)" , getRelativePath (buildDirectory)));
162
162
declareAction (stringFormat (" $(shell mkdir -p %s >/dev/null)" ,
0 commit comments