-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.Fix some code error.
- Loading branch information
Showing
17 changed files
with
160,840 additions
and
160,819 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
project (GeographicLib) | ||
project(GeographicLib) | ||
|
||
# Version information | ||
set (PROJECT_VERSION_MAJOR 1) | ||
set (PROJECT_VERSION_MINOR 49) | ||
set (PROJECT_VERSION_PATCH 0) | ||
set (PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") | ||
set(PROJECT_VERSION_MAJOR 1) | ||
set(PROJECT_VERSION_MINOR 49) | ||
set(PROJECT_VERSION_PATCH 0) | ||
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") | ||
if (PROJECT_VERSION_PATCH GREATER 0) | ||
set (PROJECT_VERSION "${PROJECT_VERSION}.${PROJECT_VERSION_PATCH}") | ||
set(PROJECT_VERSION "${PROJECT_VERSION}.${PROJECT_VERSION_PATCH}") | ||
endif () | ||
|
||
# The library version tracks the numbering given by libtool in the | ||
# autoconf set up. | ||
set (LIBVERSION_API 17) | ||
set (LIBVERSION_BUILD 17.1.2) | ||
string (TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER) | ||
string (TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER) | ||
set(LIBVERSION_API 17) | ||
set(LIBVERSION_BUILD 17.1.2) | ||
string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER) | ||
string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER) | ||
|
||
cmake_minimum_required (VERSION 2.8.4) # This version was released 2011-02-16 | ||
cmake_minimum_required(VERSION 2.8.4) # This version was released 2011-02-16 | ||
|
||
# (7) Set the default "real" precision. This should probably be left | ||
# at 2 (double). | ||
set (GEOGRAPHICLIB_PRECISION 2 CACHE STRING | ||
"Precision: 1 = float, 2 = double, 3 = extended, 4 = quadruple, 5 = variable") | ||
set_property (CACHE GEOGRAPHICLIB_PRECISION PROPERTY STRINGS 1 2 3 4 5) | ||
set(GEOGRAPHICLIB_PRECISION 2 CACHE STRING | ||
"Precision: 1 = float, 2 = double, 3 = extended, 4 = quadruple, 5 = variable") | ||
set_property(CACHE GEOGRAPHICLIB_PRECISION PROPERTY STRINGS 1 2 3 4 5) | ||
|
||
|
||
set (LIBNAME Geographic) | ||
set(LIBNAME Geographic) | ||
|
||
include_directories( | ||
./include/ | ||
./include/ | ||
) | ||
|
||
add_library(libGeographiccc src/LocalCartesian.cpp | ||
src/Geocentric.cpp | ||
src/Math.cpp) | ||
add_library(libGeographiccc SHARED | ||
src/LocalCartesian.cpp | ||
src/Geocentric.cpp | ||
src/Math.cpp) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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