diff options
| author | Bill Hoffman <bill.hoffman@kitware.com> | 2013-06-06 16:50:20 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2013-06-14 12:46:14 (GMT) |
| commit | dc03499595086ec190d55c59c8589c112362dbb6 (patch) | |
| tree | 89769d1af0db54f489a7ca903e684435f49de7cd /Tests/Tutorial/Step3/MathFunctions/MathFunctions.h | |
| parent | 6927b25affcb9e2e01fb226970fd91db143b5101 (diff) | |
| download | CMake-dc03499595086ec190d55c59c8589c112362dbb6.zip CMake-dc03499595086ec190d55c59c8589c112362dbb6.tar.gz CMake-dc03499595086ec190d55c59c8589c112362dbb6.tar.bz2 | |
Do not set CMAKE_MATCH_ variables when not neeeded
Each call to AddDefinition has overhead for variable watches and such.
Avoid extra calls when not needed.
This decreases the configure time for ParaView by 10 seconds on my
machine. Without the change about 1,000,000 set-to-empty calls were
being made. After the change it drops to about 100,000.
Diffstat (limited to 'Tests/Tutorial/Step3/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions
