Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
73aefc17
Verified
Commit
73aefc17
authored
Sep 05, 2021
by
Justin Carpentier
Browse files
cmake: fix Windows lib build directories
parent
3a414034
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
73aefc17
...
...
@@ -70,6 +70,20 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
ON
)
CMAKE_DEPENDENT_OPTION
(
GENERATE_PYTHON_STUBS
"Generate the Python stubs associated to the Python library"
OFF BUILD_PYTHON_INTERFACE OFF
)
IF
(
WIN32
)
# Set default Windows build paths
SET
(
CMAKE_LIBRARY_OUTPUT_DIRECTORY
${
PROJECT_BINARY_DIR
}
/Bin
CACHE PATH
"Single directory for all libraries"
)
SET
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
PROJECT_BINARY_DIR
}
/Bin
CACHE PATH
"Single directory for all executables"
)
SET
(
CMAKE_ARCHIVE_OUTPUT_DIRECTORY
${
PROJECT_BINARY_DIR
}
/Bin
CACHE PATH
"Sing$le directory for all archives"
)
ENDIF
(
WIN32
)
ADD_PROJECT_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES
"eigen3 >= 3.0.0"
)
if
(
BUILD_PYTHON_INTERFACE
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment