Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
4cd36cdc
Commit
4cd36cdc
authored
12 years ago
by
Campbell, Stuart
Browse files
Options
Downloads
Patches
Plain Diff
refs #5269. Add inc dirs in order for main target to compile.
parent
a56f2890
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/PythonAPI/CMakeLists.txt
+6
-0
6 additions, 0 deletions
Code/Mantid/Framework/PythonAPI/CMakeLists.txt
with
6 additions
and
0 deletions
Code/Mantid/Framework/PythonAPI/CMakeLists.txt
+
6
−
0
View file @
4cd36cdc
...
@@ -251,6 +251,12 @@ if (MAIN_TARGET AND GEN_TEST_MAIN)
...
@@ -251,6 +251,12 @@ if (MAIN_TARGET AND GEN_TEST_MAIN)
add_executable
(
main EXCLUDE_FROM_ALL
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/main.cpp
)
add_executable
(
main EXCLUDE_FROM_ALL
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/main.cpp
)
target_link_libraries
(
main
${
MANTIDLIBS
}
Algorithms DataHandling
)
target_link_libraries
(
main
${
MANTIDLIBS
}
Algorithms DataHandling
)
# add required include directories from Framework
include_directories
(
../Kernel/inc
)
include_directories
(
../Geometry/inc
)
include_directories
(
../API/inc
)
include_directories
(
../DataObjects/inc
)
# run the executable
# run the executable
add_custom_target
(
cleanmain
add_custom_target
(
cleanmain
DEPENDS
${
CMAKE_LIBRARY_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
/main
DEPENDS
${
CMAKE_LIBRARY_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
/main
...
...
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