-
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.
Generated export autocommit from mamba.ru
- Loading branch information
GitLab Runner
committed
Dec 6, 2023
1 parent
c19674b
commit da10856
Showing
11 changed files
with
157 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
*_build.counter | ||
*build_info.h | ||
*~ | ||
*.kdev4 | ||
*.pyc | ||
.cproject | ||
.project | ||
*.o | ||
*/debug | ||
*/release | ||
*/build | ||
build | ||
.tup | ||
*.kch | ||
autom4te.cache | ||
*.deps | ||
CMakeFiles | ||
CMakeCache.txt | ||
*.kate-swp | ||
*build_info.h | ||
config.h | ||
docs |
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,10 @@ | ||
FROM debian | ||
ENV LANG ru_RU.UTF-8 | ||
ENV TZ="Europe/Moscow" | ||
RUN apt update | ||
RUN apt -y install g++ cmake git wget make | ||
COPY . /prj | ||
WORKDIR "/prj" | ||
RUN make release | ||
RUN make install | ||
RUN rm -rf /prj |
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,58 @@ | ||
set(VERSION_MAJOR "${${PROJECT_NAME}_VERSION_MAJOR}") | ||
set(VERSION_MINOR "${${PROJECT_NAME}_VERSION_MINOR}") | ||
set(VERSION_PATCH "${${PROJECT_NAME}_VERSION_PATCH}") | ||
|
||
message(STATUS "${PROJECT_VERSION}: ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") | ||
|
||
if ( IS_DIRECTORY ${PROJECT_NAME} ) | ||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config/version.hpp.in" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/version.hpp" ) | ||
endif() | ||
|
||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config/version.yml.in" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/version.yml" ) | ||
|
||
|
||
include(GNUInstallDirs) | ||
include(CMakePackageConfigHelpers) | ||
|
||
set(package_config_destination ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) | ||
|
||
configure_package_config_file( | ||
${CMAKE_CURRENT_LIST_DIR}/../config/projectConfig.cmake.in ${PROJECT_NAME}Config.cmake | ||
INSTALL_DESTINATION ${package_config_destination} | ||
) | ||
write_basic_package_version_file( | ||
${PROJECT_NAME}ConfigVersion.cmake | ||
VERSION ${PROJECT_VERSION} | ||
COMPATIBILITY SameMajorVersion | ||
) | ||
|
||
install( | ||
EXPORT ${PROJECT_NAME}Targets | ||
DESTINATION ${package_config_destination} | ||
) | ||
|
||
install( | ||
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake | ||
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake | ||
DESTINATION ${package_config_destination} | ||
) | ||
|
||
install( | ||
TARGETS ${PROJECT_NAME} | ||
EXPORT ${PROJECT_NAME}Targets | ||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" | ||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" | ||
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" | ||
) | ||
|
||
if ( IS_DIRECTORY ${PROJECT_SOURCE_DIR}/${PROJECT_NAME} ) | ||
install( | ||
DIRECTORY ${PROJECT_SOURCE_DIR}/${PROJECT_NAME} | ||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/" | ||
PATTERN *.hpp | ||
) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
|
||
check_required_components(@PROJECT_NAME@) | ||
|
||
add_library(fas::testing ALIAS fas_testing) |
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,7 @@ | ||
#pragma once | ||
|
||
#define PROJECT_NAME "@PROJECT_NAME@" | ||
#define VERSION_MAJOR "@VERSION_MAJOR@" | ||
#define VERSION_MINOR "@VERSION_MINOR@" | ||
#define VERSION_PATCH "@VERSION_PATCH@" | ||
|
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,4 @@ | ||
variables: | ||
RELEASE_TAG: "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@" | ||
RELEASE_BRANCH: "release-@VERSION_MAJOR@.@VERSION_MINOR@" | ||
|
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,4 @@ | ||
variables: | ||
RELEASE_TAG: "0.9.8" | ||
RELEASE_BRANCH: "release-0.9" | ||
|
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,7 @@ | ||
#pragma once | ||
|
||
#define PROJECT_NAME "wfc" | ||
#define VERSION_MAJOR "0" | ||
#define VERSION_MINOR "9" | ||
#define VERSION_PATCH "8" | ||
|