Skip to content

Commit

Permalink
Disable PCH compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
crosire committed Feb 5, 2019
1 parent 55f2534 commit 0e4fd38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/blink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,10 @@ std::string blink::application::build_compile_command_line(const std::filesystem
};

remove_arg("Fo");
remove_arg("Fd");
remove_arg("ZI");
remove_arg("Fd"); // The program debug database is currently in use by the running application, so cannot write to it
remove_arg("ZI"); // Do not create a program debug database, since all required debug information can be stored in the object file instead
remove_arg("Yu"); // Disable pre-compiled headers, since the data is not accessible here
remove_arg("Yc");
remove_arg("JMC");
}
else // Fall back to a default command-line if unable to find one
Expand Down

0 comments on commit 0e4fd38

Please sign in to comment.