-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves dependency resolution into Hylo's common CMakeModules. (#4)
- Loading branch information
Showing
3 changed files
with
22 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
# commands used to create an easy development environment when | ||
# Commands used to create an easy development environment when | ||
# building this project directly (not as a dependency). | ||
|
||
# Without this, generated Xcode projects aren't debuggable. | ||
set(CMAKE_XCODE_GENERATE_SCHEME YES) | ||
include(GenerateSwiftXCTestMain_FetchDependencies) | ||
|
||
# | ||
# Hylo-standard dependency resolution. | ||
# | ||
include(FetchContent) | ||
|
||
block() | ||
|
||
set(FETCHCONTENT_TRY_FIND_PACKAGE_MODE NEVER) | ||
FetchContent_Declare(Hylo-CMakeModules | ||
GIT_REPOSITORY https://github.com/hylo-lang/CMakeModules.git | ||
GIT_TAG main | ||
OVERRIDE_FIND_PACKAGE | ||
) | ||
|
||
endblock() | ||
FetchContent_MakeAvailable(Hylo-CMakeModules) | ||
|
||
list(PREPEND CMAKE_MODULE_PATH ${hylo-cmakemodules_SOURCE_DIR}) |
57 changes: 0 additions & 57 deletions
57
cmake/modules/GenerateSwiftXCTestMain_FetchDependencies.cmake
This file was deleted.
Oops, something went wrong.