This repository has been archived by the owner on May 8, 2019. It is now read-only.
forked from mariadb-corporation/mariadb-connector-c
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C/C integration in MariaDB Server builds
* make is usable as a CMake sub-project * put options in a separate namespace * but use parent project values when specified * always specify COMPONENT when INSTALLing * don't use PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR Also * fix out-of-source builds (don't generate files in the CMAKE_SOURCE_DIR, always do it in CMAKE_BINARY_DIR) * make subsequence cmake runs less verbose, use MESSAGE1 to avoid repeating messages that didn't change
- Loading branch information
Showing
22 changed files
with
261 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
IF ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.8.7") | ||
FUNCTION(MESSAGE1 id out) | ||
MESSAGE(STATUS "${out}") | ||
ENDFUNCTION() | ||
ELSE() | ||
FUNCTION(MESSAGE1 id out) | ||
STRING(MD5 hash "${out}") | ||
IF(NOT __msg1_${id} STREQUAL "${hash}") | ||
MESSAGE(STATUS "${out}") | ||
ENDIF() | ||
SET(__msg1_${id} ${hash} CACHE INTERNAL "") | ||
ENDFUNCTION() | ||
ENDIF() |
Oops, something went wrong.