[Cmake-commits] CMake branch, next, updated. v3.6.2-1910-g80b043a
Brad King
brad.king at kitware.com
Fri Sep 9 11:41:56 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 80b043a53de8a349d00632b52a5cb3b2292b1be8 (commit)
via db938513ff3c6d6bd0805da3a8256e6498fc58db (commit)
via 9aa619cbc14d2ab83ca2c00655cb8384bc752d3c (commit)
from ccc35f729ad4ce6fa23288ae77e14c87eb1ca0a0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=80b043a53de8a349d00632b52a5cb3b2292b1be8
commit 80b043a53de8a349d00632b52a5cb3b2292b1be8
Merge: ccc35f7 db93851
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 9 11:41:55 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Sep 9 11:41:55 2016 -0400
Merge topic 'bzip2-imported-targets' into next
db938513 Help: Add notes for topic 'bzip2-imported-targets'
9aa619cb fixup! Tests: Add FindBZip2 unit tests
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=db938513ff3c6d6bd0805da3a8256e6498fc58db
commit db938513ff3c6d6bd0805da3a8256e6498fc58db
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 9 11:37:25 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Sep 9 11:37:25 2016 -0400
Help: Add notes for topic 'bzip2-imported-targets'
diff --git a/Help/release/dev/bzip2-imported-targets.rst b/Help/release/dev/bzip2-imported-targets.rst
new file mode 100644
index 0000000..be58b96
--- /dev/null
+++ b/Help/release/dev/bzip2-imported-targets.rst
@@ -0,0 +1,4 @@
+bzip2-imported-targets
+----------------------
+
+* The :module:`FindBZip2` module now provides imported targets.
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9aa619cbc14d2ab83ca2c00655cb8384bc752d3c
commit 9aa619cbc14d2ab83ca2c00655cb8384bc752d3c
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 9 11:36:27 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Sep 9 11:36:27 2016 -0400
fixup! Tests: Add FindBZip2 unit tests
diff --git a/Tests/FindBZip2/Test/main.c b/Tests/FindBZip2/Test/main.c
index f8d1ddc..8e24c94 100644
--- a/Tests/FindBZip2/Test/main.c
+++ b/Tests/FindBZip2/Test/main.c
@@ -1,15 +1,15 @@
+#include <bzlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <bzlib.h>
int main()
{
int chunksize = 1024;
- FILE *file = fopen("test.bzip2", "wb");
- char *buf = malloc(sizeof(char) * chunksize);
+ FILE* file = fopen("test.bzip2", "wb");
+ char* buf = malloc(sizeof(char) * chunksize);
int error, rsize;
unsigned int in, out;
- BZFILE *bzfile = BZ2_bzWriteOpen(&error, file, 64, 1, 10);
+ BZFILE* bzfile = BZ2_bzWriteOpen(&error, file, 64, 1, 10);
/* Don't actually write anything for the purposes of the test */
-----------------------------------------------------------------------
Summary of changes:
Help/release/dev/bzip2-imported-targets.rst | 4 ++++
Tests/FindBZip2/Test/main.c | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
create mode 100644 Help/release/dev/bzip2-imported-targets.rst
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list