Skip to content

Instantly share code, notes, and snippets.

@AlekSi
Created January 7, 2010 12:35
Show Gist options
  • Save AlekSi/271208 to your computer and use it in GitHub Desktop.
Save AlekSi/271208 to your computer and use it in GitHub Desktop.
$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - not found.
-- Found Qt-Version 4.6.0 (using /usr/bin/qmake)
-- Found GTest: /opt/local/lib/libgtest.dylib
-- Found GMock: /opt/local/lib/libgmock.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/AlekSi/Code/QtPersistence
$ make
Scanning dependencies of target QtPersistenceTest
[ 50%] Building CXX object src/tests/CMakeFiles/QtPersistenceTest.dir/inflectiontest.cpp.o
In file included from /Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:19:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:22:25: error: gtest/gtest.h: No such file or directory
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: '::testing' has not been declared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment