|
-
September 11th, 2020, 12:42 PM
#6
Re: Do header files with implementation work in a precompiled header?
I have the option Use(/Yu) in the precompiled header options.
Precompiled header file : pch.h
Precompiled header source file : <full_path_to>pch.cpp
In the include direcotries of the project, I point the root directory where the pch.h lives.
In every cpp file, I include the pch.h (first line in the file).
By the way, I haven't test it. In the previous post that I said about my projects with these big header-only libraries I was running the project without a precompiled header.
Last edited by babaliaris; September 11th, 2020 at 12:45 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|