mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
avrdude: Fix: Generate the embedded conf in the bin dir, remove from repo
The generated file avrdude-slic3r.conf.h is not kept in repo any longer - it was causing trouble for git diffing. It's now generated in $CMAKE_CURRENT_BINARY_DIR and included from there. The file embeds avrdude-slic3r.conf so that the conf doesn't need to be loaded from disk.
This commit is contained in:
parent
53939796a6
commit
03079d4928
3 changed files with 7 additions and 1192 deletions
|
@ -21,7 +21,7 @@ int main(int argc, char const *argv[])
|
|||
std::cerr << "Cannot read file: " << filename_in << std::endl;
|
||||
}
|
||||
|
||||
std::fstream output(filename_out, std::ios::out | std::ios::trunc | std::ios::binary);
|
||||
std::fstream output(filename_out, std::ios::out | std::ios::trunc);
|
||||
if (!output.good()) {
|
||||
std::cerr << "Cannot open output file: " << filename_out << std::endl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue