C++ library for ...
describe your project ...
namespace Chessmate {
// INSERT YOUR INTERFACE HERE
}
#include<iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return EXIT_SUCCESS;
}
In your c++ project
- add include/chessmate to your include directories
- add lib/[config] to your library directories (depending on your configuration)
- link the library libchessmate.a (for linux) and chessmate.lib (for windows)
Locate the build folder, then execute the following command in the console:
make config=[config]
If you have not installed make:
sudo apt-get install make -y
Open the build/chessmate.sln solution with Visual Studio.
After selecting your desired configuration, click on Build > Build Solution.
Note: Make sure you have the Desktop developement with C++ workload installed.