K
K
Kirill Zhilyaev2018-10-14 21:33:38
C++ / C#
Kirill Zhilyaev, 2018-10-14 21:33:38

How to build a CMake project?

Downloaded the sources https://github.com/zaphoyd/websocketpp
Downloaded cmake
Created a build folder and executed cmake there

C:\Users\KEK\Desktop\websocketpp-master\build>cmake ..
-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.14.26430.0
-- The CXX compiler identification is MSVC 19.14.26430.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
** websocketpp

=========== Used Build Configuration =============

-- ENABLE_CPP11        = ON
-- BUILD_EXAMPLES      = OFF
-- BUILD_TESTS         = OFF

-- WEBSOCKETPP_ROOT    = C:/Users/KEK/Desktop/websocketpp-master
-- WEBSOCKETPP_BIN     = C:/Users/KEK/Desktop/websocketpp-master/build/bin
-- WEBSOCKETPP_LIB     = C:/Users/KEK/Desktop/websocketpp-master/build/lib
-- Install prefix      = C:/Users/KEK/Desktop/websocketpp-master/install

-- WEBSOCKETPP_BOOST_LIBS        =
-- WEBSOCKETPP_PLATFORM_LIBS     =
-- WEBSOCKETPP_PLATFORM_TLS_LIBS =

-- OPENSSL_FOUND        =
-- OPENSSL_INCLUDE_DIR     =
-- OPENSSL_LIBRARIES =
-- OPENSSL_VERSION =

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/KEK/Desktop/websocketpp-master/build

C:\Users\KEK\Desktop\websocketpp-master\build>

As a result, I received several empty project files. How to collect a program?
There are boosts and OpenSSL. Studio 2015 (have build tools for 17)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
First Name Last Name, 2019-01-16
@tommygain

cmake --build command .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question