Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesparrott/include_stdafx_in_cmake
A way to avoid deleting the first line (#include stdafx.h) of every file in the entire code base when porting Visual Studio projects to CMake, using a compiler definition and a little C++ templating.
https://github.com/jamesparrott/include_stdafx_in_cmake
Last synced: about 1 month ago
JSON representation
A way to avoid deleting the first line (#include stdafx.h) of every file in the entire code base when porting Visual Studio projects to CMake, using a compiler definition and a little C++ templating.
- Host: GitHub
- URL: https://github.com/jamesparrott/include_stdafx_in_cmake
- Owner: JamesParrott
- Created: 2024-06-02T18:04:09.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T20:32:32.000Z (7 months ago)
- Last Synced: 2024-10-16T15:31:42.511Z (3 months ago)
- Language: CMake
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Include stdafx.h in CMake
A way to avoid deleting the first line (`#include stdafx.h`) of every file in the entire code base when porting Visual Studio projects to CMake, using a compiler definition and a little C++ templating.## To compile:
* `cmake -B build -S .`
* `cmake --build build`