-
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.
Remove dir-specific vars to allow include of TribitsPackageMacros at …
…top level. This refactoring is to allow TriBITS packages to not have to include TribitsPackageMacros but just use the commands. Changes I made: * Moved CMake .exe out of global and added ${PROJECT_NAME}_CMAKE_EXECUTABLE_SUFFIX to allow TriBITS projects to change the prefix *.exe to something else. This had to be done or it messed up a some try-compile commands in Teuchos (and likely other packages). * Moved commands that set include and lib dirs to inside of TRIBITS_ADD_EXECUTABLE(). This might slow down the configure when you have a lot of TRIBTS_ADD_EXECUTABLE() commands in a single CMkaeLists.txt file but we will just have to see.
- Loading branch information
Roscoe A. Bartlett
committed
Feb 21, 2014
1 parent
9c177c9
commit d91f059
Showing
4 changed files
with
36 additions
and
17 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