Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,11 @@ int main()
//uses cakeconfig
#else
//Generates cakeconfig.h with the include dir used by gcc
execute_cmd("./cake -autoconfig");
execute_cmd(RUN "cake -autoconfig");
#endif

//Uses previouly generated cakeconfig.h to find include dir
execute_cmd("./cake "
execute_cmd(RUN "cake "
" -fanalyzer "
CAKE_SOURCE_FILES);

Expand All @@ -329,15 +329,15 @@ int main()
//uses cakeconfig
#else
//Generates cakeconfig.h with the include dir used by gcc
execute_cmd("./cake -autoconfig");
execute_cmd(RUN "cake -autoconfig");
#endif


HEADER("Runs cake on its own source");


//Uses previouly generated cakeconfig.h to find include dir
execute_cmd("./cake -DTEST -fanalyzer " CAKE_SOURCE_FILES);
execute_cmd(RUN "cake -DTEST -fanalyzer " CAKE_SOURCE_FILES);


echo_chdir("./x86_x64_gcc/");
Expand All @@ -350,7 +350,6 @@ int main()
#endif

#ifdef TEST

HEADER("Runs tests");


Expand Down