export DEAL_II_DIR=/path/to/your/deal.II
bash-3.2$ cmake .
CMake Warning (dev) at /applications/deal.II.app/Contents/Resources/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake:48 (ADD_EXECUTABLE):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The target name "“myexample1”" is reserved or not valid for certain
CMake features, such as generator expressions, and may result in undefined
behavior.
Call Stack (most recent call first):
CMakeLists.txt:39 (DEAL_II_INVOKE_AUTOPILOT)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Autopilot invoked
-- Run $ make info to print a detailed help message
-- Configuring done
CMake Error at /applications/deal.II.app/Contents/Resources/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake:48 (ADD_EXECUTABLE):
Cannot find source file:
“myexample1”.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:39 (DEAL_II_INVOKE_AUTOPILOT)
CMake Error: CMake can not determine linker language for target: “myexample1”
CMake Error: Cannot determine link language for target "“myexample1”".
-- Generating done
-- Build files have been written to: /applications/deal.II.app/Contents/Resources/examples/myexample1
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/R_DsJ6hnMlw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.