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
1b300f4d
Commit
1b300f4d
authored
Dec 10, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add eos to targets in utils, remove old /bigobj switch
parent
b32e96f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-2
utils/CMakeLists.txt
utils/CMakeLists.txt
+4
-8
No files found.
examples/CMakeLists.txt
View file @
1b300f4d
...
@@ -55,13 +55,13 @@ if(EOS_BUILD_CERES_EXAMPLE)
...
@@ -55,13 +55,13 @@ if(EOS_BUILD_CERES_EXAMPLE)
# Single and multi-image non-linear model fitting with Ceres example:
# Single and multi-image non-linear model fitting with Ceres example:
add_executable
(
fit-model-ceres fit-model-ceres.cpp
)
add_executable
(
fit-model-ceres fit-model-ceres.cpp
)
target_link_libraries
(
fit-model-ceres
${
CERES_LIBRARIES
}
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
fit-model-ceres
eos
${
CERES_LIBRARIES
}
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
install
(
TARGETS fit-model-ceres DESTINATION bin
)
install
(
TARGETS fit-model-ceres DESTINATION bin
)
endif
()
endif
()
# Generate random samples from the model:
# Generate random samples from the model:
add_executable
(
generate-obj generate-obj.cpp
)
add_executable
(
generate-obj generate-obj.cpp
)
target_link_libraries
(
generate-obj
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
generate-obj
eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# install target:
# install target:
...
...
utils/CMakeLists.txt
View file @
1b300f4d
...
@@ -29,25 +29,21 @@ else(Boost_FOUND)
...
@@ -29,25 +29,21 @@ else(Boost_FOUND)
message
(
FATAL_ERROR
"Boost not found"
)
message
(
FATAL_ERROR
"Boost not found"
)
endif
()
endif
()
if
(
MSVC
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/bigobj"
)
endif
()
# Converts a CVSSP .scm Morphable Model to a cereal binary file:
# Converts a CVSSP .scm Morphable Model to a cereal binary file:
add_executable
(
scm-to-cereal scm-to-cereal.cpp
)
add_executable
(
scm-to-cereal scm-to-cereal.cpp
)
target_link_libraries
(
scm-to-cereal
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
scm-to-cereal
eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# Converts a file created with share/convert_bfm2009_to_raw_binary.m to a cereal binary file:
# Converts a file created with share/convert_bfm2009_to_raw_binary.m to a cereal binary file:
add_executable
(
bfm-binary-to-cereal bfm-binary-to-cereal.cpp
)
add_executable
(
bfm-binary-to-cereal bfm-binary-to-cereal.cpp
)
target_link_libraries
(
bfm-binary-to-cereal
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
bfm-binary-to-cereal
eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# Reads an edgestruct CSV file created from Matlab, and converts it to json:
# Reads an edgestruct CSV file created from Matlab, and converts it to json:
add_executable
(
edgestruct-csv-to-json edgestruct-csv-to-json.cpp
)
add_executable
(
edgestruct-csv-to-json edgestruct-csv-to-json.cpp
)
target_link_libraries
(
edgestruct-csv-to-json
${
Boost_LIBRARIES
}
)
target_link_libraries
(
edgestruct-csv-to-json
eos
${
Boost_LIBRARIES
}
)
# Store a json file as cereal .bin:
# Store a json file as cereal .bin:
add_executable
(
json-to-cereal-binary json-to-cereal-binary.cpp
)
add_executable
(
json-to-cereal-binary json-to-cereal-binary.cpp
)
target_link_libraries
(
json-to-cereal-binary
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
json-to-cereal-binary
eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# install target:
# install target:
install
(
TARGETS scm-to-cereal DESTINATION bin
)
install
(
TARGETS scm-to-cereal DESTINATION bin
)
...
...
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