On Wed, Jun 15, 2016 at 21:34:27 +0300, Binkie Pinkie wrote: > build$ make > Scanning dependencies of target list > make[2]: Circular blink/CMakeFiles/list.dir/main.cpp.o <- blink/list > dependency dropped. > [ 50%] Building CXX object blink/CMakeFiles/list.dir/main.cpp.o > In file included from /media/data/docs/dev/Blink/blink/main.cpp:2:0: > /media/data/docs/dev/Blink/build/blink/list:1:1: error: stray ‘\177’ in > program > ELF > � @ @ � @ 8 @ @ > ^
Looks like the built binary gets found by the compiler and it tries to #include it. Try setting: set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin") to put the executable outside of the -I paths. --Ben -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers