]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Rename all object targets to obj_<foo>_(debug|release)
authorMatthias Maier <tamiko@43-1.org>
Thu, 12 Jan 2017 16:34:42 +0000 (10:34 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 13 Jan 2017 09:34:44 +0000 (03:34 -0600)
commitaefdb5af5dc6cb92cf1424b61365842c960698d6
treea85c64e69a572456f816d7c4868c135610098d35
parent6b2fe4d73a37df33f7311dfe69dfdcb1d492562e
CMake: Rename all object targets to obj_<foo>_(debug|release)

This change is necessary to please the cuda wrapper nvcc that insists on
exporting the target name as preprocessor definition. Unfortunately, a
period "." is an invalid character and we end up with warnings of the
form

  "missing whitespace after the macro name"

Fix this by renaming all object targets to only contain underscores.
cmake/macros/macro_deal_ii_add_library.cmake
cmake/macros/macro_expand_instantiations.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.