From 44871518f5fa4613fc2cacaed27cfc8e518feaaa Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Sat, 24 Jan 2009 18:57:20 +0000 Subject: [PATCH] merge of cmake build files from trunk per beman [SVN r50756] --- CMakeLists.txt | 22 ++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 9 +++++++++ 3 files changed, 32 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 module.cmake create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..df5221b88 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + gil +) + +# Add a library target to the build system +boost_library_project( + gil + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "Generic Image Library" + MODULARIZED + AUTHORS "Lubomir Bourdev " + "Hailin Jin " + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 000000000..e5c8cecd7 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module (gil DEPENDS type_traits mpl) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 000000000..c9f50e145 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,9 @@ +boost_additional_test_dependencies(gil BOOST_DEPENDS test lambda crc) + + +add_definitions(-DBOOST_GIL_NO_IO -D_SCL_SECURE_NO_WARNINGS) +boost_test_run(channel channel.cpp error_if.cpp) +boost_test_run(image image.cpp sample_image.cpp error_if.cpp) +boost_test_run(image_io image_io.cpp error_if.cpp) +boost_test_run(pixel pixel.cpp error_if.cpp) +boost_test_run(pixel_iterator pixel_iterator.cpp error_if.cpp)