mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
Minor fixes and adjustments
This commit is contained in:
parent
331bbc8068
commit
af8f3ad824
@ -25,7 +25,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR (NOT IS_ABSOLUTE ${CMAKE_INSTA
|
|||||||
endif()
|
endif()
|
||||||
message(STATUS "-------- INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX} --------")
|
message(STATUS "-------- INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX} --------")
|
||||||
|
|
||||||
# Use git to detect App4Triqs version and git hash
|
# Use git to detect app4triqs version and git hash
|
||||||
execute_process(COMMAND bash "-c" "${TRIQS_GIT_EXECUTABLE} describe | sed \"s/-\\([0-9]*\\)-.*/.\\1/g\""
|
execute_process(COMMAND bash "-c" "${TRIQS_GIT_EXECUTABLE} describe | sed \"s/-\\([0-9]*\\)-.*/.\\1/g\""
|
||||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||||
OUTPUT_VARIABLE APP4TRIQS_VERSION
|
OUTPUT_VARIABLE APP4TRIQS_VERSION
|
||||||
|
@ -12,9 +12,9 @@ To use this skeleton for a new triqs application, the following steps are necess
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/triqs/app4triqs --branch unstable mynewapp
|
git clone https://github.com/triqs/app4triqs --branch unstable mynewapp
|
||||||
cd mynewapp
|
cd mynewapp
|
||||||
git remote set-url https://github.com/myuser/mynewapp
|
git remote set-url origin https://github.com/myuser/mynewapp
|
||||||
find . -type f | grep -v .git | xargs sed -i 's/app4triqs/mynewapp/g; s/APP4TRIQS/MYNEWAPP/g'
|
find . -type f | grep -v .git | xargs sed -i 's/app4triqs/mynewapp/g; s/APP4TRIQS/MYNEWAPP/g'
|
||||||
find . | grep -v .git | xargs rename app4triqs mytriqsapp
|
find . | grep -v .git | xargs rename 's/app4triqs/mytriqsapp/'
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Create mynewapp from github.com/triqs/app4triqs skeleton"
|
git commit -m "Create mynewapp from github.com/triqs/app4triqs skeleton"
|
||||||
git push
|
git push
|
||||||
|
@ -16,7 +16,7 @@ target_compile_definitions(app4triqs_c PRIVATE
|
|||||||
|
|
||||||
# Install library and headers
|
# Install library and headers
|
||||||
install(TARGETS app4triqs_c EXPORT app4triqs-targets DESTINATION lib)
|
install(TARGETS app4triqs_c EXPORT app4triqs-targets DESTINATION lib)
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h")
|
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include/app4triqs FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h")
|
||||||
|
|
||||||
|
|
||||||
# ========= Static Analyzer Checks ==========
|
# ========= Static Analyzer Checks ==========
|
||||||
|
Loading…
Reference in New Issue
Block a user