Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
e26e09d3
Commit
e26e09d3
authored
7 years ago
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tabbing and formatting
parent
2b9de7f4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
check_if_neon_available.cmake
dlib/cmake_utils/check_if_neon_available.cmake
+3
-3
find_blas.cmake
dlib/cmake_utils/find_blas.cmake
+0
-0
set_compiler_specific_options.cmake
dlib/cmake_utils/set_compiler_specific_options.cmake
+1
-1
tell_visual_studio_to_use_static_runtime.cmake
...make_utils/tell_visual_studio_to_use_static_runtime.cmake
+1
-1
use_cpp_11.cmake
dlib/cmake_utils/use_cpp_11.cmake
+9
-9
No files found.
dlib/cmake_utils/check_if_neon_available.cmake
View file @
e26e09d3
...
...
@@ -12,9 +12,9 @@ set(ARM_NEON_IS_AVAILABLE 0)
# test if __ARM_NEON__ is defined
try_compile
(
test_for_neon_worked
${
PROJECT_BINARY_DIR
}
/neon_test_build
${
CMAKE_CURRENT_LIST_DIR
}
/test_for_neon
neon_test
)
neon_test
)
if
(
test_for_neon_worked
)
message
(
STATUS
"__ARM_NEON__ defined."
)
set
(
ARM_NEON_IS_AVAILABLE 1
)
message
(
STATUS
"__ARM_NEON__ defined."
)
set
(
ARM_NEON_IS_AVAILABLE 1
)
endif
()
This diff is collapsed.
Click to expand it.
dlib/cmake_utils/find_blas.cmake
View file @
e26e09d3
This diff is collapsed.
Click to expand it.
dlib/cmake_utils/set_compiler_specific_options.cmake
View file @
e26e09d3
...
...
@@ -2,7 +2,7 @@
cmake_minimum_required
(
VERSION 2.8.12
)
if
(
POLICY CMP0054
)
cmake_policy
(
SET CMP0054 NEW
)
cmake_policy
(
SET CMP0054 NEW
)
endif
()
set
(
USING_OLD_VISUAL_STUDIO_COMPILER 0
)
...
...
This diff is collapsed.
Click to expand it.
dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake
View file @
e26e09d3
...
...
@@ -4,7 +4,7 @@
cmake_minimum_required
(
VERSION 2.8.12
)
if
(
POLICY CMP0054
)
cmake_policy
(
SET CMP0054 NEW
)
cmake_policy
(
SET CMP0054 NEW
)
endif
()
if
(
MSVC OR
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"MSVC"
)
...
...
This diff is collapsed.
Click to expand it.
dlib/cmake_utils/use_cpp_11.cmake
View file @
e26e09d3
...
...
@@ -5,7 +5,7 @@
cmake_minimum_required
(
VERSION 2.8.12
)
if
(
POLICY CMP0054
)
cmake_policy
(
SET CMP0054 NEW
)
cmake_policy
(
SET CMP0054 NEW
)
endif
()
...
...
@@ -60,14 +60,14 @@ else()
# Set a flag if the compiler you are using is capable of providing C++11 features.
get_property
(
cxx_features GLOBAL PROPERTY CMAKE_CXX_KNOWN_FEATURES
)
if
(
";
${
cxx_features
}
;"
MATCHES
";cxx_rvalue_references;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_variadic_templates;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_lambdas;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_defaulted_move_initializers;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_delegating_constructors;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_thread_local;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_constexpr;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_decltype_incomplete_return_types;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_auto_type;"
)
";
${
cxx_features
}
;"
MATCHES
";cxx_variadic_templates;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_lambdas;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_defaulted_move_initializers;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_delegating_constructors;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_thread_local;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_constexpr;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_decltype_incomplete_return_types;"
AND
";
${
cxx_features
}
;"
MATCHES
";cxx_auto_type;"
)
set
(
COMPILER_CAN_DO_CPP_11 1
)
# Tell cmake that we need C++11 for dlib
...
...
This diff is collapsed.
Click to expand it.
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