Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
f25c9e89
Commit
f25c9e89
authored
11 years ago
by
Pospelov, Gennady
Browse files
Options
Downloads
Patches
Plain Diff
Windows: default install dir is C, check for previous installation
parent
5f315d84
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
cmake/CMakeLists.txt
+2
-0
2 additions, 0 deletions
cmake/CMakeLists.txt
cmake/modules/CPackWindows.cmake
+2
-1
2 additions, 1 deletion
cmake/modules/CPackWindows.cmake
with
5 additions
and
2 deletions
CMakeLists.txt
+
1
−
1
View file @
f25c9e89
...
@@ -13,7 +13,7 @@ set(BornAgain_VERSION_PATCH 2)
...
@@ -13,7 +13,7 @@ set(BornAgain_VERSION_PATCH 2)
# --- General project settings ---
# --- General project settings ---
option
(
BORNAGAIN_PYTHON
"Build with python support"
ON
)
option
(
BORNAGAIN_PYTHON
"Build with python support"
ON
)
option
(
BORNAGAIN_APP
"Build test application"
O
N
)
option
(
BORNAGAIN_APP
"Build test application"
O
FF
)
option
(
BORNAGAIN_GUI
"Build a graphical user interface"
OFF
)
option
(
BORNAGAIN_GUI
"Build a graphical user interface"
OFF
)
option
(
BORNAGAIN_MAN
"Build a user manual"
OFF
)
option
(
BORNAGAIN_MAN
"Build a user manual"
OFF
)
option
(
BUILD_DEBIAN
"Build a debian package"
OFF
)
option
(
BUILD_DEBIAN
"Build a debian package"
OFF
)
...
...
This diff is collapsed.
Click to expand it.
cmake/CMakeLists.txt
+
2
−
0
View file @
f25c9e89
# this script is a trick to print the message at the end of installation
# this script is a trick to print the message at the end of installation
if
(
NOT WIN32
)
set
(
after_install_text
"
set
(
after_install_text
"
Installation done. Please read below.
Installation done. Please read below.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
...
@@ -13,3 +14,4 @@ Just add this command into your .bashrc or .bash_profile file.
...
@@ -13,3 +14,4 @@ Just add this command into your .bashrc or .bash_profile file.
install
(
CODE
"MESSAGE(
\"
${
after_install_text
}
\"
)"
)
install
(
CODE
"MESSAGE(
\"
${
after_install_text
}
\"
)"
)
endif
()
This diff is collapsed.
Click to expand it.
cmake/modules/CPackWindows.cmake
+
2
−
1
View file @
f25c9e89
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
set
(
CPACK_GENERATOR
"NSIS"
)
set
(
CPACK_GENERATOR
"NSIS"
)
#set(CPACK_NSIS_MODIFY_PATH ON)
#set(CPACK_NSIS_MODIFY_PATH ON)
set
(
CPACK_NSIS_INSTALL_ROOT
"C:"
)
set
(
CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON
)
set
(
CPACK_NSIS_EXTRA_INSTALL_COMMANDS
"
set
(
CPACK_NSIS_EXTRA_INSTALL_COMMANDS
"
Push
\\\"
PATH
\\\"
Push
\\\"
PATH
\\\"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment