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
ad84809d
Commit
ad84809d
authored
9 years ago
by
Jonathan Fisher
Browse files
Options
Downloads
Patches
Plain Diff
Small modification to cmake scripts, to fix broken 'make install' using SWIG bindings
parent
d578d0db
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
Core/CMakeLists.txt
+1
-2
1 addition, 2 deletions
Core/CMakeLists.txt
Core/PythonAPI/libBornAgainCore.i.old
+0
-916
0 additions, 916 deletions
Core/PythonAPI/libBornAgainCore.i.old
Fit/CMakeLists.txt
+1
-0
1 addition, 0 deletions
Fit/CMakeLists.txt
with
3 additions
and
919 deletions
CMakeLists.txt
+
1
−
1
View file @
ad84809d
...
...
@@ -11,7 +11,7 @@ include(VERSION.cmake)
# --- General project settings ---
option
(
BORNAGAIN_PYTHON
"Build with python support"
ON
)
option
(
BORNAGAIN_USE_PYTHON3
"Build against python 3.5 instead of 2.7"
O
N
)
option
(
BORNAGAIN_USE_PYTHON3
"Build against python 3.5 instead of 2.7"
O
FF
)
option
(
BORNAGAIN_GENERATE_BINDINGS
"Generate python bindings during build (requires swig)"
OFF
)
option
(
BORNAGAIN_GENERATE_PYTHON_DOCS
"Generate python documentation from the doxygen comments"
OFF
)
option
(
BORNAGAIN_APP
"Build test application"
OFF
)
...
...
This diff is collapsed.
Click to expand it.
Core/CMakeLists.txt
+
1
−
2
View file @
ad84809d
...
...
@@ -96,8 +96,6 @@ if(BORNAGAIN_PYTHON)
list
(
APPEND source_files
"PythonAPI/libBornAgainCore_wrap.cxx"
)
#list(APPEND include_files "PythonAPI/libBornAgainCore_wrap.h")
# JMF: this should be done more carefully in the future
#
# add_custom_target(
# ${library_name}_python
...
...
@@ -172,6 +170,7 @@ install (DIRECTORY ${CMAKE_SOURCE_DIR}/Examples/ DESTINATION ${destination_examp
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/Examples/ DESTINATION
${
destination_examples
}
COMPONENT Examples FILES_MATCHING PATTERN
"*.png"
)
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/Examples/cpp DESTINATION
${
destination_examples
}
COMPONENT Examples
)
install
(
TARGETS
${
library_name
}
DESTINATION
${
destination_lib
}
COMPONENT Libraries
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/lib/lib
${
library_name
}
.py DESTINATION
${
destination_lib
}
COMPONENT Libraries
)
# required by swig
install
(
FILES
${
core_include_files
}
DESTINATION
${
destination_include
}
COMPONENT Headers
)
if
(
WIN32
)
...
...
This diff is collapsed.
Click to expand it.
Core/PythonAPI/libBornAgainCore.i.old
deleted
100644 → 0
+
0
−
916
View file @
d578d0db
This diff is collapsed.
Click to expand it.
Fit/CMakeLists.txt
+
1
−
0
View file @
ad84809d
...
...
@@ -180,6 +180,7 @@ endif()
# -----------------------------------------------
install
(
TARGETS
${
library_name
}
DESTINATION
${
destination_lib
}
COMPONENT Libraries
)
install
(
FILES
${
fitkernel_include_files
}
DESTINATION
${
destination_include
}
COMPONENT Headers
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/lib/lib
${
library_name
}
.py DESTINATION
${
destination_lib
}
COMPONENT Libraries
)
# required by SWIG
if
(
WIN32
)
if
(
BORNAGAIN_PYTHON
)
...
...
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