Skip to content

Commit

Permalink
Merge pull request #101 from MissouriMRDT/hotfix/release-builder
Browse files Browse the repository at this point in the history
Add Logo and Fix Build Type
  • Loading branch information
Byrdman32 authored Aug 18, 2023
2 parents 1f0f476 + 1c8c350 commit 617fe0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
project(Autonomy_Software VERSION 24.00.00)

## Include Required CMake Packages
if(CPack_CMake_INCLUDED)
if(NOT CPack_CMake_INCLUDED)
include(CPack) # CMake Packaging Library
endif()
if(CTest_CMake_INCLUDED)
if(NOT CTest_CMake_INCLUDED)
include(CTest) # CMake Testing Framework
endif()
include(FetchContent) # CMake Dependency Framework
Expand All @@ -30,13 +30,15 @@ set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
set(CPACK_PACKAGE_VENDOR "Mars Rover Design Team")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_GENERATOR "SH")
set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/data/CPACK/logo.ico")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}")
set(CPACK_GENERATOR "STGZ")

## Find RoveComm
FetchContent_Declare(RoveComm_CPP # Custom Network Protocol (RoveComm)
GIT_REPOSITORY https://github.com/MissouriMRDT/RoveComm_CPP.git # Source Code URL
GIT_TAG 16ba934e74a1c18e18c565c48000481e0451a966 # Version 24.0.0
GIT_SHALLOW TRUE # Download only without history
GIT_SHALLOW FALSE # Download only without history
GIT_PROGRESS TRUE # Forces progress status.
)
FetchContent_GetProperties(RoveComm_CPP)
Expand Down
Binary file added data/CPACK/logo.ico
Binary file not shown.

0 comments on commit 617fe0b

Please sign in to comment.