Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
MolDyn
lib4neuro
Commits
08c1a3ef
Commit
08c1a3ef
authored
6 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
Trying to fix CI
parent
3b676a3f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+5
-8
5 additions, 8 deletions
src/CMakeLists.txt
with
5 additions
and
8 deletions
src/CMakeLists.txt
+
5
−
8
View file @
08c1a3ef
...
...
@@ -58,17 +58,14 @@ if ("${BUILD_LIB}" STREQUAL "yes")
# set(PREFIX "lib")
endif
()
if
(
WIN32 AND
"
${
DEPENDENCIES_LINK_TYPE
}
"
STREQUAL
"static"
)
add_library
(
libboost_unit_test STATIC boost_test_lib_dummy.cpp
)
add_library
(
libexprtk STATIC exprtk.cpp
)
elseif
(
WIN32 AND
"
${
DEPENDENCIES_LINK_TYPE
}
"
STREQUAL
"shared"
)
if
(
WIN32 AND
"
${
DEPENDENCIES_LINK_TYPE
}
"
STREQUAL
"shared"
)
message
(
FATAL_ERROR
"Only static linking of external dependencies is supported for Windows systems now!"
)
elseif
(
"
${
DEPENDENCIES_LINK_TYPE
}
"
STREQUAL
"static"
)
add_library
(
boost_unit_test STATIC boost_test_lib_dummy.cpp
)
add_library
(
exprtk STATIC exprtk.cpp
)
add_library
(
${
PREFIX
}
boost_unit_test STATIC boost_test_lib_dummy.cpp
)
add_library
(
${
PREFIX
}
exprtk STATIC exprtk.cpp
)
elseif
(
"
${
DEPENDENCIES_LINK_TYPE
}
"
STREQUAL
"shared"
)
add_library
(
boost_unit_test SHARED boost_test_lib_dummy.cpp
)
add_library
(
exprtk SHARED exprtk.cpp
)
add_library
(
${
PREFIX
}
boost_unit_test SHARED boost_test_lib_dummy.cpp
)
add_library
(
${
PREFIX
}
exprtk SHARED exprtk.cpp
)
endif
()
target_include_directories
(
...
...
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