Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
f62d0474
"tests/python/tensorflow/test_nn.py" did not exist on "93ac29ce3446ff5d82f9ec91eb597ca236cbd8fb"
Commit
f62d0474
authored
Feb 16, 2018
by
Davis King
Browse files
Added dlib version to compiled library file names when using visual studio.
parent
ad414af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+4
-4
No files found.
dlib/CMakeLists.txt
View file @
f62d0474
...
@@ -823,10 +823,10 @@ if (MSVC)
...
@@ -823,10 +823,10 @@ if (MSVC)
# what happens since, at the very least, the filenames will indicate what
# what happens since, at the very least, the filenames will indicate what
# visual studio runtime they go with.
# visual studio runtime they go with.
math
(
EXPR numbits
${
CMAKE_SIZEOF_VOID_P
}
*8
)
math
(
EXPR numbits
${
CMAKE_SIZEOF_VOID_P
}
*8
)
set_target_properties
(
dlib PROPERTIES DEBUG_POSTFIX
"_debug_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES DEBUG_POSTFIX
"
${
VERSION
}
_debug_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES RELEASE_POSTFIX
"_release_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES RELEASE_POSTFIX
"
${
VERSION
}
_release_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES MINSIZEREL_POSTFIX
"_minsizerel_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES MINSIZEREL_POSTFIX
"
${
VERSION
}
_minsizerel_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES RELWITHDEBINFO_POSTFIX
"_relwithdebinfo_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
set_target_properties
(
dlib PROPERTIES RELWITHDEBINFO_POSTFIX
"
${
VERSION
}
_relwithdebinfo_
${
numbits
}
bit_msvc
${
MSVC_VERSION
}
"
)
endif
()
endif
()
add_library
(
dlib::dlib ALIAS dlib
)
add_library
(
dlib::dlib ALIAS dlib
)
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