-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shortenling names to MixedLang and WithSubpackages
This makes the substitutions: MixedLanguage => MixedLang PackageWithSubpackages => WithSubpackages SubpackageA => A SubpackageB => B SubpackageC => C I also I changed the directory names: mixed_language => mixed_lang package_with_subpackages => with_subpackages package_with_subpackages/A => with_subpackages/a package_with_subpackages/B => with_subpackages/b package_with_subpackages/C => with_subpackages/c The names of the subpackages are now shorter and easier to type and read. The directory names are shorter and are now all lower-case as is convention adopted from Trilinos. All of the tests have been updated too.
- Loading branch information
Roscoe A. Bartlett
committed
Oct 6, 2014
1 parent
7bbcc8d
commit bfa3094
Showing
38 changed files
with
480 additions
and
485 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
TRIBITS_REPOSITORY_DEFINE_PACKAGES( | ||
SimpleCxx packages/simple_cxx PT | ||
MixedLanguage packages/mixed_language PT | ||
PackageWithSubpackages packages/package_with_subpackages PT | ||
WrapExternal packages/wrap_external ST | ||
SimpleCxx packages/simple_cxx PT | ||
MixedLang packages/mixed_lang PT | ||
WithSubpackages packages/with_subpackages PT | ||
WrapExternal packages/wrap_external ST | ||
) | ||
|
||
TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(WrapExternal Windows) |
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
2 changes: 1 addition & 1 deletion
2
doc/examples/TribitsExampleProject/packages/mixed_lang/CMakeLists.txt
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
2 changes: 1 addition & 1 deletion
2
doc/examples/TribitsExampleProject/packages/with_subpackages/a/CMakeLists.txt
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
2 changes: 1 addition & 1 deletion
2
doc/examples/TribitsExampleProject/packages/with_subpackages/b/CMakeLists.txt
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,4 +1,4 @@ | ||
TRIBITS_SUBPACKAGE(SubpackageB) | ||
TRIBITS_SUBPACKAGE(B) | ||
|
||
ADD_SUBDIRECTORY(src) | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
doc/examples/TribitsExampleProject/packages/with_subpackages/b/cmake/Dependencies.cmake
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,5 +1,5 @@ | ||
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( | ||
LIB_REQUIRED_PACKAGES SimpleCxx | ||
LIB_OPTIONAL_PACKAGES PackageWithSubpackagesSubpackageA | ||
TEST_OPTIONAL_PACKAGES MixedLanguage | ||
LIB_OPTIONAL_PACKAGES WithSubpackagesA | ||
TEST_OPTIONAL_PACKAGES MixedLang | ||
) |
2 changes: 1 addition & 1 deletion
2
...ples/TribitsExampleProject/packages/with_subpackages/b/cmake/WithSubpackagesB_config.h.in
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,2 +1,2 @@ | ||
#cmakedefine HAVE_PACKAGEWITHSUBPACKAGESSUBPACKAGEB_PACKAGEWITHSUBPACKAGESSUBPACKAGEA | ||
#cmakedefine HAVE_WITHSUBPACKAGESB_WITHSUBPACKAGESA | ||
|
8 changes: 4 additions & 4 deletions
8
doc/examples/TribitsExampleProject/packages/with_subpackages/b/src/B.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
4 changes: 2 additions & 2 deletions
4
doc/examples/TribitsExampleProject/packages/with_subpackages/b/src/B.hpp
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
2 changes: 1 addition & 1 deletion
2
...examples/TribitsExampleProject/packages/with_subpackages/b/tests/testlib/b_mixed_lang.hpp
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,6 +1,6 @@ | ||
#include <string> | ||
|
||
namespace PackageWithSubpackages { | ||
namespace WithSubpackages { | ||
|
||
std::string b_mixed_lang(); | ||
|
||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
#include <string> | ||
|
||
namespace PackageWithSubpackages { | ||
namespace WithSubpackages { | ||
|
||
std::string getC(); | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
doc/examples/TribitsExampleProject/packages/with_subpackages/c/CMakeLists.txt
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,4 +1,4 @@ | ||
TRIBITS_SUBPACKAGE(SubpackageC) | ||
TRIBITS_SUBPACKAGE(C) | ||
|
||
TRIBITS_ADD_EXECUTABLE( c_util | ||
NOEXEPREFIX NOEXESUFFIX | ||
|
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
4 changes: 2 additions & 2 deletions
4
doc/examples/TribitsExampleProject/packages/with_subpackages/c/cmake/Dependencies.cmake
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,4 +1,4 @@ | ||
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( | ||
LIB_REQUIRED_PACKAGES PackageWithSubpackagesSubpackageA | ||
PackageWithSubpackagesSubpackageB | ||
LIB_REQUIRED_PACKAGES WithSubpackagesA | ||
WithSubpackagesB | ||
) |
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
2 changes: 1 addition & 1 deletion
2
doc/examples/TribitsExampleProject/packages/with_subpackages/c/tests/c_b_mixed_lang.hpp
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,6 +1,6 @@ | ||
#include <string> | ||
|
||
namespace PackageWithSubpackages { | ||
namespace WithSubpackages { | ||
|
||
std::string c_b_mixed_lang(); | ||
|
||
|
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
6 changes: 3 additions & 3 deletions
6
doc/examples/TribitsExampleProject/packages/with_subpackages/cmake/Dependencies.cmake
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,6 +1,6 @@ | ||
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( | ||
SUBPACKAGES_DIRS_CLASSIFICATIONS_OPTREQS | ||
SubpackageA A PT REQUIRED | ||
SubpackageB B ST OPTIONAL | ||
SubpackageC C ST OPTIONAL | ||
A a PT REQUIRED | ||
B b ST OPTIONAL | ||
C c ST OPTIONAL | ||
) |
4 changes: 2 additions & 2 deletions
4
doc/examples/TribitsExampleProject/packages/wrap_external/cmake/Dependencies.cmake
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,4 +1,4 @@ | ||
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( | ||
LIB_REQUIRED_PACKAGES PackageWithSubpackagesSubpackageA | ||
LIB_OPTIONAL_PACKAGES MixedLanguage | ||
LIB_REQUIRED_PACKAGES WithSubpackagesA | ||
LIB_OPTIONAL_PACKAGES MixedLang | ||
) |
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.