C:\Documents and Settings\Rendszergazda\Asztal\client\build>cmake -G "MinGW Make
files" ..
CMake Error: CMake was unable to find a build program corresponding to "MinGW Ma
kefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differe
nt build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Ma
kefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differe
nt build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:C:/Documents and Settings/Rendszer
gazda/Asztal/client/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:C:/Documents and Settings/Rendszer
gazda/Asztal/client/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
C:\Documents and Settings\Rendszergazda\Asztal\client\build>type ..\CMakeLists.t
xt
project(client)
cmake_minimum_required(VERSION 2.6)
IF(WIN32)
set( CMAKE_MAKE_PROGRAM E:/MinGW/bin/migw32-make.exe )
set( CMAKE_C_COMPILER E:/MinGW/bin/gcc )
set( QT_BINARY_DIR E:/Qt/4.7.4Lib/bin )
set( QT_QMAKE_EXECUTABLE ${QT_BINARY_DIR}/qmake )
ENDIF(WIN32)
find_package(Qt4 REQUIRED)
IF(WIN32)
SET(CMAKE_BUILD_TYPE Release )
ENDIF(WIN32)
SET(QT_USE_QTNETWORK TRUE)
INCLUDE(${QT_USE_FILE})
include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
set(client_SRCS client.cpp main.cpp version.cpp mysslsocket.cpp mysslsocket0.cpp
http.cpp)
SET(client_RCCS client.qrc)
set(client_UIS client.ui)
qt4_automoc(${client_SRCS})
qt4_add_resources(client_RCC_SRCS ${client_RCCS})
QT4_WRAP_UI (client_UIS_H ${client_UIS})
IF(WIN32)
SET(GUI_TYPE WIN32)
ENDIF(WIN32)
add_executable(client ${GUI_TYPE} ${client_SRCS} ${client_UIS_H} ${client_RCC_SR
CS})
target_link_libraries(client ${QT_LIBRARIES})
C:\Documents and Settings\Rendszergazda\Asztal\client\build>