summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest/Makefile.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-11 21:27:19 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-11 21:34:17 (GMT)
commit9fc87c6343a5d448f04d7a9397beb95e3b85178e (patch)
treebe1510dea7a80fb25dcc94d9ddc467d86187edc4 /Tests/FindPackageModeMakefileTest/Makefile.in
parentd3ae0fff7dea00775f8c6e8bed59a494f102999c (diff)
downloadCMake-9fc87c6343a5d448f04d7a9397beb95e3b85178e.zip
CMake-9fc87c6343a5d448f04d7a9397beb95e3b85178e.tar.gz
CMake-9fc87c6343a5d448f04d7a9397beb95e3b85178e.tar.bz2
Add a test for the new --find-package mode
Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest/Makefile.in')
-rw-r--r--Tests/FindPackageModeMakefileTest/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in b/Tests/FindPackageModeMakefileTest/Makefile.in
new file mode 100644
index 0000000..5105d99
--- /dev/null
+++ b/Tests/FindPackageModeMakefileTest/Makefile.in
@@ -0,0 +1,8 @@
+all: clean pngtest
+
+pngtest: main.o
+ "@CMAKE_CXX_COMPILER@" -c `"@cmakeExecutable@" --find-package -DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE` main.cpp
+ "@CMAKE_CXX_COMPILER@" -o pngtest main.o `"@cmakeExecutable@" --find-package -DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=LINK`
+
+clean:
+ rm -f *.o pngtest