-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
94 additions
and
59 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
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,7 +1,12 @@ | ||
add_executable( | ||
HogMaker | ||
HogMaker/HogFormat.cpp | ||
HogMaker/HogMaker.cpp | ||
) | ||
add_dependencies(HogMaker get_git_hash) | ||
target_include_directories(HogMaker PRIVATE ${PROJECT_BINARY_DIR}/lib) | ||
if (HogMaker_DIR) | ||
find_package(HogMaker REQUIRED) | ||
else() | ||
add_executable( | ||
HogMaker | ||
HogMaker/HogFormat.cpp | ||
HogMaker/HogMaker.cpp | ||
) | ||
export(TARGETS HogMaker FILE "${CMAKE_BINARY_DIR}/HogMakerConfig.cmake") | ||
add_dependencies(HogMaker get_git_hash) | ||
target_include_directories(HogMaker PRIVATE ${PROJECT_BINARY_DIR}/lib) | ||
endif() |