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
f9e429b6
Commit
f9e429b6
authored
5 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] Fixed structure of folders built
parent
61098f3a
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-3
1 addition, 3 deletions
CMakeLists.txt
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
src/examples/CMakeLists.txt
+0
-1
0 additions, 1 deletion
src/examples/CMakeLists.txt
src/tests/CMakeLists.txt
+0
-1
0 additions, 1 deletion
src/tests/CMakeLists.txt
with
3 additions
and
7 deletions
CMakeLists.txt
+
1
−
3
View file @
f9e429b6
...
...
@@ -58,6 +58,7 @@ endif()
#--------------------------------#
set
(
CMAKE_CXX_STANDARD 17
)
# Debug memory errors
#add_compile_options(-fsanitize=address)
#add_link_options(-fsanitize=address -static-libasan)
...
...
@@ -94,9 +95,6 @@ endif()
set
(
ROOT_DIR
${
CMAKE_CURRENT_LIST_DIR
}
)
set
(
SRC_DIR
${
ROOT_DIR
}
/src
)
set
(
PROJECT_BINARY_DIR
${
ROOT_DIR
}
/build
)
set
(
CMAKE_LIBRARY_OUTPUT_DIRECTORY lib
)
set
(
CMAKE_ARCHIVE_OUTPUT_DIRECTORY lib
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
PROJECT_BINARY_DIR
}
/bin
)
#----------------------------------------#
# Set prefixes and suffixes of libraries #
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
2
−
2
View file @
f9e429b6
...
...
@@ -148,10 +148,10 @@ if ("${BUILD_LIB}" STREQUAL "yes")
endif
()
if
(
"
${
BUILD_TESTS
}
"
STREQUAL
"yes"
)
add_subdirectory
(
tests
tests
)
add_subdirectory
(
tests
)
endif
()
if
(
"
${
BUILD_EXAMPLES
}
"
STREQUAL
"yes"
)
add_subdirectory
(
examples
examples
)
add_subdirectory
(
examples
)
endif
()
This diff is collapsed.
Click to expand it.
src/examples/CMakeLists.txt
+
0
−
1
View file @
f9e429b6
...
...
@@ -55,7 +55,6 @@ set_target_properties(
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/lib/"
LIBRARY_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/lib"
RUNTIME_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/bin/examples"
)
#in case the modular make does not compile library itself
...
...
This diff is collapsed.
Click to expand it.
src/tests/CMakeLists.txt
+
0
−
1
View file @
f9e429b6
...
...
@@ -80,6 +80,5 @@ set_target_properties(
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/lib"
LIBRARY_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/lib"
RUNTIME_OUTPUT_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/unit-tests"
)
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