summaryrefslogtreecommitdiffstats
path: root/Tests/ConvLibrary
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-02-19 18:26:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-02-19 18:26:38 (GMT)
commit303048d3dce5044b14220af742bf3156b484a882 (patch)
treeaaf33a7c4bd8022c9b7d6ca9234bfa16f2fc3cd7 /Tests/ConvLibrary
parent09699018ccccf654ce6ca4d0b84e3e2a973f5c22 (diff)
downloadCMake-303048d3dce5044b14220af742bf3156b484a882.zip
CMake-303048d3dce5044b14220af742bf3156b484a882.tar.gz
CMake-303048d3dce5044b14220af742bf3156b484a882.tar.bz2
ENH: add test for conv libraries
Diffstat (limited to 'Tests/ConvLibrary')
-rw-r--r--Tests/ConvLibrary/CMakeLists.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/Tests/ConvLibrary/CMakeLists.txt b/Tests/ConvLibrary/CMakeLists.txt
index 0f4eede..bf1ab83 100644
--- a/Tests/ConvLibrary/CMakeLists.txt
+++ b/Tests/ConvLibrary/CMakeLists.txt
@@ -1,19 +1,19 @@
-project(foo)
-
-# create a source list
-set(foo_sources foo.cxx bar.c sub1/car.cxx)
-# create a library foo from the sources
-add_library(foo ${foo_sources})
-# get the object files from the target
-get_target_property(OBJECT_FILES foo OBJECT_FILES)
-message("${OBJECT_FILES}")
-# set the object files as generated
-set_source_files_properties(${OBJECT_FILES} PROPERTIES GENERATED true)
-# create a library bar that contains the object files from foo
-add_library(bar ${OBJECT_FILES})
-# set the linker language since bar only has .obj
-set_target_properties(bar PROPERTIES LINKER_LANGUAGE CXX)
-# make sure foo is built before bar
-add_dependencies(bar foo)
-add_executable(bartest bartest.cxx)
-target_link_libraries(bartest bar)
+project(ConvLibrary)
+
+# create a source list
+set(foo_sources foo.cxx bar.c sub1/car.cxx)
+# create a library foo from the sources
+add_library(foo ${foo_sources})
+# get the object files from the target
+get_target_property(OBJECT_FILES foo OBJECT_FILES)
+message("${OBJECT_FILES}")
+# set the object files as generated
+set_source_files_properties(${OBJECT_FILES} PROPERTIES GENERATED true)
+# create a library bar that contains the object files from foo
+add_library(bar ${OBJECT_FILES})
+# set the linker language since bar only has .obj
+set_target_properties(bar PROPERTIES LINKER_LANGUAGE CXX)
+# make sure foo is built before bar
+add_dependencies(bar foo)
+add_executable(bartest bartest.cxx)
+target_link_libraries(bartest bar)