generated from feelpp/feelpp-project
-
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.
Merge branch 'master' of https://github.com/feelpp/course-rom
[code skip]
- Loading branch information
Showing
29 changed files
with
1,816 additions
and
378 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 was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,8 @@ jupyter/ | |
auto-save-list | ||
tramp | ||
.\#* | ||
.DS_Store | ||
.DS_Store | ||
.venv* | ||
dist/ | ||
feelppdb | ||
README.md |
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 |
---|---|---|
|
@@ -22,7 +22,11 @@ | |
# | ||
# | ||
cmake_minimum_required(VERSION 3.21.0) | ||
project(course-rom VERSION 2.0.2) | ||
|
||
project( | ||
course-rom | ||
VERSION 1.0.0 ) | ||
|
||
set(EXTRA_VERSION "") | ||
set(PROJECT_SHORTNAME "cr") | ||
|
||
|
@@ -33,6 +37,9 @@ if (POLICY CMP0077) | |
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) | ||
endif() | ||
|
||
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module) | ||
find_package(pybind11 CONFIG REQUIRED) | ||
|
||
find_package(Feel++ COMPONENTS Toolboxes PATHS ${FEELPP_DIR}/share/feelpp/feel/cmake/modules $ENV{FEELPP_DIR}/share/feelpp/feel/cmake/modules /usr/share/feelpp/feel/cmake/modules /usr/local/share/feelpp/feel/cmake/modules ) | ||
if(NOT FEELPP_FOUND) | ||
message(FATAL_ERROR "Feel++ was not found on your system. Make sure to install it and specify the FEELPP_DIR to reference the installation directory.") | ||
|
@@ -49,7 +56,7 @@ endif() | |
|
||
|
||
add_subdirectory( src ) | ||
add_subdirectory( docs ) | ||
#add_subdirectory( docs ) | ||
|
||
# extra ignored files | ||
list(APPEND CPACK_SOURCE_IGNORE_FILES | ||
|
@@ -63,7 +70,7 @@ set(CPACK_PACKAGE_NAME "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSI | |
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}${EXTRA_VERSION}") | ||
SET(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}${EXTRA_VERSION}-${CMAKE_SYSTEM_NAME}") | ||
set(CPACK_PACKAGE_DIRECTORY "${PROJECT_BINARY_DIR}/assets") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Cemosis course-rom template application") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Cemosis feelpp-project template application") | ||
set(CPACK_PACKAGE_DESCRIPTION "Cemosis provides a Feel++ template application.") | ||
set(CPACK_PACKAGE_VENDOR "Cemosis") | ||
set(CPACK_PACKAGE_CONTACT "Christophe Prud'homme <[email protected]>") | ||
|
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.