Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from Morwenn/develop
Release 1.5.0
- Loading branch information
Showing
47 changed files
with
1,893 additions
and
867 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
from conans import ConanFile | ||
from conans import CMake, ConanFile | ||
|
||
|
||
class CppSortConan(ConanFile): | ||
name = "cpp-sort" | ||
version = "1.4.0" | ||
settings = "compiler" | ||
version = "1.5.0" | ||
license = "https://github.com/Morwenn/cpp-sort/blob/master/license.txt" | ||
url = "https://github.com/Morwenn/cpp-sort" | ||
author = "Morwenn <morwenn29@hotmail.fr>" | ||
description = "Additional sorting algorithms & related tools" | ||
exports_sources = "include/*" | ||
exports_sources = ("include/*", "CMakeLists.txt", "cmake/*") | ||
exports = "license.txt" | ||
generators = "cmake", "txt" | ||
no_copy_source = True | ||
|
||
def configure(self): | ||
if self.settings.compiler == "Visual Studio": | ||
raise Exception("Visual Studio is not supported.") | ||
|
||
def package(self): | ||
cmake = CMake(self) | ||
cmake.definitions["BUILD_TESTING"] = "OFF" | ||
cmake.configure() | ||
cmake.install() | ||
|
||
self.copy("license*", dst="licenses", ignore_case=True, keep_path=False) | ||
self.copy(pattern="*", src="include", dst="include") | ||
|
||
def package_id(self): | ||
self.info.header_only() |
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
Oops, something went wrong.