diff options
author | Brad King <brad.king@kitware.com> | 2008-06-02 20:45:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-02 20:45:07 (GMT) |
commit | bed3ac8741405132096430c9f61578df9f8cfbf9 (patch) | |
tree | b140448aa518e2d4e20349cf5c72ce8e412a6977 /Tests/CustomCommand/foo.in | |
parent | 6be09c366774ed6d723a06f5f07ba5c09d8e4579 (diff) | |
download | CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.zip CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.tar.gz CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.tar.bz2 |
ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
- Option was recently added but never released.
- Custom commands no longer depend on build.make so we do
not need the option.
- Rule hashes now take care of rebuilding when rules change
so the dependency is not needed.
Diffstat (limited to 'Tests/CustomCommand/foo.in')
-rw-r--r-- | Tests/CustomCommand/foo.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/CustomCommand/foo.in b/Tests/CustomCommand/foo.in index c5ce340..08c559d 100644 --- a/Tests/CustomCommand/foo.in +++ b/Tests/CustomCommand/foo.in @@ -6,11 +6,10 @@ int generated(); int wrapped(); -int gen_once(void); int main () { - if (generated()*wrapped()*doc()*gen_once() == 3*5*7*11) + if (generated()*wrapped()*doc() == 3*5*7) { FILE* fin = fopen(PROJECT_BINARY_DIR "/not_included.h", "r"); if(fin) |