mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02: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()
|
||||
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\""
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE APP4TRIQS_VERSION
|
||||
|
@ -12,9 +12,9 @@ To use this skeleton for a new triqs application, the following steps are necess
|
||||
```bash
|
||||
git clone https://github.com/triqs/app4triqs --branch unstable 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 . | grep -v .git | xargs rename app4triqs mytriqsapp
|
||||
find . | grep -v .git | xargs rename 's/app4triqs/mytriqsapp/'
|
||||
git add -A
|
||||
git commit -m "Create mynewapp from github.com/triqs/app4triqs skeleton"
|
||||
git push
|
||||
|
@ -16,7 +16,7 @@ target_compile_definitions(app4triqs_c PRIVATE
|
||||
|
||||
# Install library and headers
|
||||
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 ==========
|
||||
|
Loading…
Reference in New Issue
Block a user