View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015814 | CMake | (No Category) | public | 2015-10-27 16:52 | 2016-06-10 14:31 | ||||
Reporter | Lagu | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015814: Feature request: Split compilation fase on preprocessor | ||||||||
Description | Hi, here a feature request for optimizations, acutally we use a lot the preprocessor options, cmake helps a lot with this but actually in the development have a hight time's consume when we try to test or compile more times with different options, so if it posible add an option to split the compilations fase, first compile the project without the preprocessor, and then compile with the requested options, i found in this page some options to do this with gcc at least: http://stackoverflow.com/questions/4049962/can-i-squeez-my-own-program-between-the-preprocessor-and-compiler [^] i'm very bad explaining this so i'll try to say with way too, first an example, we have a foo project with a fuu-1 and fuu-2 preprocessor options, so if we want compile the project we do: cmake . -Dfuu-1=ON -Dfuu-2=ON if we need both options, and then we do make and the project is compiled, but if we want try other like cmake . -Dfuu-1=ON -Dfuu-2=OFF the project recompile the files with the modified preprocessor. So the idea, first compile the project without the preprocessor options, then as second phase compile with the options, so if we change some option when we use make the compiler skip the first phase and only compile the preprocessor options. sorry my bad eng. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042868) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-10-27 16:52 | Lagu | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042868 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |