[CMake] Don't warn unused cmake variables which aren't used by cmake ports
https://bugs.webkit.org/show_bug.cgi?id=108761
Reviewed by Laszlo Gombos.
Ignore unused macro variables which aren't used by cmake ports.
* Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index e6e5f43..dd532a2 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,15 @@
+2013-02-05 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [CMake] Don't warn unused cmake variables which aren't used by cmake ports
+ https://bugs.webkit.org/show_bug.cgi?id=108761
+
+ Reviewed by Laszlo Gombos.
+
+ Ignore unused macro variables which aren't used by cmake ports.
+
+ * Scripts/webkitdirs.pm:
+ (generateBuildSystemFromCMakeProject):
+
2013-02-05 Julie Parent <jparent@chromium.org>
Add cc_unittests to the dashboards
diff --git a/Tools/Scripts/webkitdirs.pm b/Tools/Scripts/webkitdirs.pm
index eee8a1b..6f3b0c7 100755
--- a/Tools/Scripts/webkitdirs.pm
+++ b/Tools/Scripts/webkitdirs.pm
@@ -2194,6 +2194,8 @@
} elsif ($config =~ /debug/i) {
push @args, "-DCMAKE_BUILD_TYPE=Debug";
}
+ # Don't warn variables which aren't used by cmake ports.
+ push @args, "--no-warn-unused-cli";
push @args, @cmakeArgs if @cmakeArgs;
push @args, $additionalCMakeArgs if $additionalCMakeArgs;