├── .gitignore ├── PrecompiledHeader.cmake ├── README.md ├── example ├── CMakeLists.txt ├── main.cpp ├── main.h ├── pch.cpp └── pch.h ├── runall.cmd ├── runall.sh ├── runtest.cmd ├── test ├── c-force │ ├── CMakeLists.txt │ ├── test-c-force.c │ ├── test-pch.c │ └── test-pch.h ├── c │ ├── CMakeLists.txt │ ├── test-c.c │ ├── test-pch.c │ └── test-pch.h ├── cxx-force │ ├── CMakeLists.txt │ ├── test-cxx-force.cpp │ ├── test-pch.cpp │ └── test-pch.h ├── cxx │ ├── CMakeLists.txt │ ├── test-cxx.cpp │ ├── test-pch.cpp │ └── test-pch.h ├── heavy │ ├── CMakeLists.txt │ ├── test-heavy.cpp │ ├── test-pch.cpp │ └── test-pch.h ├── mixed-force │ ├── CMakeLists.txt │ ├── test-mixed-force.c │ ├── test-mixed-force.cpp │ ├── test-pch.c │ ├── test-pch.cpp │ └── test-pch.h └── mixed │ ├── CMakeLists.txt │ ├── test-mixed.c │ ├── test-mixed.cpp │ ├── test-pch.c │ ├── test-pch.cpp │ └── test-pch.h └── testpch.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | vs2010/ 2 | mingw/ 3 | build/ 4 | example-*/ 5 | *.orig -------------------------------------------------------------------------------- /PrecompiledHeader.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/PrecompiledHeader.cmake -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/README.md -------------------------------------------------------------------------------- /example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/example/CMakeLists.txt -------------------------------------------------------------------------------- /example/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/example/main.cpp -------------------------------------------------------------------------------- /example/main.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /example/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /example/pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/example/pch.h -------------------------------------------------------------------------------- /runall.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/runall.cmd -------------------------------------------------------------------------------- /runall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/runall.sh -------------------------------------------------------------------------------- /runtest.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/runtest.cmd -------------------------------------------------------------------------------- /test/c-force/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c-force/CMakeLists.txt -------------------------------------------------------------------------------- /test/c-force/test-c-force.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c-force/test-c-force.c -------------------------------------------------------------------------------- /test/c-force/test-pch.c: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/c-force/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c-force/test-pch.h -------------------------------------------------------------------------------- /test/c/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c/CMakeLists.txt -------------------------------------------------------------------------------- /test/c/test-c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c/test-c.c -------------------------------------------------------------------------------- /test/c/test-pch.c: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/c/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/c/test-pch.h -------------------------------------------------------------------------------- /test/cxx-force/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx-force/CMakeLists.txt -------------------------------------------------------------------------------- /test/cxx-force/test-cxx-force.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx-force/test-cxx-force.cpp -------------------------------------------------------------------------------- /test/cxx-force/test-pch.cpp: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/cxx-force/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx-force/test-pch.h -------------------------------------------------------------------------------- /test/cxx/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx/CMakeLists.txt -------------------------------------------------------------------------------- /test/cxx/test-cxx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx/test-cxx.cpp -------------------------------------------------------------------------------- /test/cxx/test-pch.cpp: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/cxx/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/cxx/test-pch.h -------------------------------------------------------------------------------- /test/heavy/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/heavy/CMakeLists.txt -------------------------------------------------------------------------------- /test/heavy/test-heavy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/heavy/test-heavy.cpp -------------------------------------------------------------------------------- /test/heavy/test-pch.cpp: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/heavy/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/heavy/test-pch.h -------------------------------------------------------------------------------- /test/mixed-force/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed-force/CMakeLists.txt -------------------------------------------------------------------------------- /test/mixed-force/test-mixed-force.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed-force/test-mixed-force.c -------------------------------------------------------------------------------- /test/mixed-force/test-mixed-force.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed-force/test-mixed-force.cpp -------------------------------------------------------------------------------- /test/mixed-force/test-pch.c: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/mixed-force/test-pch.cpp: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/mixed-force/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed-force/test-pch.h -------------------------------------------------------------------------------- /test/mixed/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed/CMakeLists.txt -------------------------------------------------------------------------------- /test/mixed/test-mixed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed/test-mixed.c -------------------------------------------------------------------------------- /test/mixed/test-mixed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed/test-mixed.cpp -------------------------------------------------------------------------------- /test/mixed/test-pch.c: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/mixed/test-pch.cpp: -------------------------------------------------------------------------------- 1 | #include "test-pch.h" 2 | -------------------------------------------------------------------------------- /test/mixed/test-pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/larsch/cmake-precompiled-header/HEAD/test/mixed/test-pch.h -------------------------------------------------------------------------------- /testpch.cpp: -------------------------------------------------------------------------------- 1 | #include "testpch.h" 2 | --------------------------------------------------------------------------------