История изменений
Исправление
stevejobs,
(текущая версия)
:
Для тех, кто хочет похакать это вместе с ТСом
./src/yauporot.cpp: http://pastebin.com/GECcZVgm
./CMakeLists.txt: http://pastebin.com/edMCUkpu
потом
mkdir ./build
cd build
cmake ..
make
./yauporot
Ожидаемый выхлоп:
[olegchir@archi build]$ make
Scanning dependencies of target yauporot
[100%] Building CXX object CMakeFiles/yauporot.dir/src/yauporot.cpp.o
Linking CXX executable yauporot
[100%] Built target yauporot
[olegchir@archi build]$ ls
CMakeCache.txt CMakeFiles cmake_install.cmake Makefile yauporot
[olegchir@archi build]$ ./yauporot
sobaka
mendeley
Это уже линукс,
g++ --version
g++ (GCC) 4.8.1 20130725 (prerelease)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Исходная версия
stevejobs,
:
Для тех, кто хочет похакать это вместе с ТСом
./src/yauporot.cpp: http://pastebin.com/GECcZVgm
./CMakeLists.txt: http://pastebin.com/edMCUkpu
потом
mkdir ./build
cd build
cmake ..
make
./yauporot
Ожидаемый выхлоп:
[olegchir@archi build]$ make
Scanning dependencies of target yauporot
[100%] Building CXX object CMakeFiles/yauporot.dir/src/yauporot.cpp.o
Linking CXX executable yauporot
[100%] Built target yauporot
[olegchir@archi build]$ ls
CMakeCache.txt CMakeFiles cmake_install.cmake Makefile yauporot
[olegchir@archi build]$ ./yauporot
sobaka
mendeley