Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
42b0aec4
Commit
42b0aec4
authored
Jan 02, 2017
by
Patrik Huber
Committed by
GitHub
Jan 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #82 from ruslo/pr.consistent.required
Consistent 'REQUIRED' usage
parents
fbe22b65
2e1d7f4d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
24 deletions
+5
-24
CMakeLists.txt
CMakeLists.txt
+1
-5
doc/CMakeLists.txt
doc/CMakeLists.txt
+1
-4
examples/CMakeLists.txt
examples/CMakeLists.txt
+1
-5
python/CMakeLists.txt
python/CMakeLists.txt
+1
-5
utils/CMakeLists.txt
utils/CMakeLists.txt
+1
-5
No files found.
CMakeLists.txt
View file @
42b0aec4
...
...
@@ -48,11 +48,7 @@ if(MSVC)
add_definitions
(
-DBOOST_ALL_DYN_LINK
)
# Link against the dynamic boost lib - needs to match with the version that find_package finds.
endif
()
find_package
(
Boost 1.50.0 COMPONENTS system REQUIRED
)
if
(
Boost_FOUND
)
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
else
(
Boost_FOUND
)
message
(
FATAL_ERROR
"Boost not found"
)
endif
()
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
find_package
(
Eigen3 REQUIRED
)
...
...
doc/CMakeLists.txt
View file @
42b0aec4
find_package
(
Doxygen
)
if
(
NOT DOXYGEN_FOUND
)
message
(
FATAL_ERROR
"Doxygen is needed to build the documentation."
)
endif
()
find_package
(
Doxygen REQUIRED
)
set
(
doxyfile_in
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
)
set
(
doxyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
...
...
examples/CMakeLists.txt
View file @
42b0aec4
...
...
@@ -21,11 +21,7 @@ if(MSVC)
add_definitions
(
-DBOOST_ALL_DYN_LINK
)
# Link against the dynamic boost lib - needs to match with the version that find_package finds.
endif
()
find_package
(
Boost 1.50.0 COMPONENTS system filesystem program_options REQUIRED
)
if
(
Boost_FOUND
)
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
else
(
Boost_FOUND
)
message
(
FATAL_ERROR
"Boost not found"
)
endif
()
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
# Simple model fitting (orthographic camera & shape to landmarks) example:
add_executable
(
fit-model-simple fit-model-simple.cpp
)
...
...
python/CMakeLists.txt
View file @
42b0aec4
...
...
@@ -22,11 +22,7 @@ if(MSVC)
add_definitions
(
-DBOOST_ALL_DYN_LINK
)
# Link against the dynamic boost lib - needs to match with the version that find_package finds.
endif
()
find_package
(
Boost 1.50.0 COMPONENTS system filesystem program_options REQUIRED
)
if
(
Boost_FOUND
)
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
else
(
Boost_FOUND
)
message
(
FATAL_ERROR
"Boost not found"
)
endif
()
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
pybind11_add_module
(
python-bindings generate-python-bindings.cpp pybind11_glm.hpp pybind11_opencv.hpp
)
target_link_libraries
(
python-bindings PRIVATE eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
...
...
utils/CMakeLists.txt
View file @
42b0aec4
...
...
@@ -21,11 +21,7 @@ if(MSVC)
add_definitions
(
-DBOOST_ALL_DYN_LINK
)
# Link against the dynamic boost lib - needs to match with the version that find_package finds.
endif
()
find_package
(
Boost 1.50.0 COMPONENTS system filesystem program_options REQUIRED
)
if
(
Boost_FOUND
)
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
else
(
Boost_FOUND
)
message
(
FATAL_ERROR
"Boost not found"
)
endif
()
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
# Converts a CVSSP .scm Morphable Model to a cereal binary file:
add_executable
(
scm-to-cereal scm-to-cereal.cpp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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