-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated all default packages to latest version as well. - Added dynamic variable to set force to update packages to latest master or dev branch. - Added OpenCV as default package. - Added some examples. - Fixed some issues.
- Loading branch information
Showing
22 changed files
with
396 additions
and
96 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#Package Info. | ||
set(ENGINE_NAME "Cell") | ||
set(ENGINE_DESCRIPTION "Cell Engine is a new and exclusive cross-platform computer application engine based on Modern C++.") | ||
|
||
message("Preparing for " ${ENGINE_NAME} "Engine") | ||
|
||
find_package(PkgConfig QUIET) | ||
pkg_search_module(${ENGINE_NAME} cell) | ||
#Package data repository. | ||
|
||
set(FETCHCONTENT_QUIET off) | ||
get_filename_component(cell_base "${CMAKE_CURRENT_SOURCE_DIR}/${THIRD_PARTY}/${PLATFORM_FOLDER_NAME}/${ENGINE_NAME}" | ||
REALPATH BASE_DIR "${CMAKE_BINARY_DIR}") | ||
set(FETCHCONTENT_BASE_DIR ${cell_base}) | ||
FetchContent_Declare( | ||
cell | ||
GIT_REPOSITORY https://github.com/genyleap/cell.git | ||
GIT_TAG main | ||
GIT_PROGRESS TRUE | ||
) | ||
# Check if population has already been performed | ||
FetchContent_GetProperties(cell) | ||
string(TOLOWER "${ENGINE_NAME}" lcName) | ||
if(NOT ${lcName}_POPULATED) | ||
FetchContent_Populate(${lcName}) | ||
add_subdirectory(${${lcName}_SOURCE_DIR} ${${lcName}_BINARY_DIR} EXCLUDE_FROM_ALL) | ||
endif() | ||
FetchContent_MakeAvailable(cell) | ||
include_directories(${${lcName}_INCLUDE_DIR}) | ||
list(APPEND LIB_MODULES cell_lib) | ||
|
||
if(NOT CELL_FOUND) | ||
return() | ||
endif() |
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
Oops, something went wrong.