CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #6
    Join Date
    Jul 2017
    Location
    Greece
    Posts
    130

    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
  •  





Click Here to Expand Forum to Full Width

Featured