Set up C++ compiling environment with static linked libraries (Windows/Mac/Linux)
$30-250 USD
Em Andamento
Publicado há mais de 10 anos
$30-250 USD
Pago na entrega
I want an environment/files/folders/scripts to compile a C++ program for Windows, Mac and Linux (separate sources/files/scripts for each operating system are okay, but shouldn't be necessary for the simple example code below).
I want to include the following open-source libraries:
- Boost
- Botan
- SQLite 3, with the botansqlite3 patches (important!).
Preferably, the project will be delivered as:
libs\boost\FILES
libs\botan\FILES
libs\sqlite\FILES (patched with botansqlite3!)
Together with:
source\windows\[login to view URL]
source\linux\[login to view URL]
source\mac\[login to view URL]
and compile scripts:
source\windows\[login to view URL]
source\linux\[login to view URL]
source\mac\[login to view URL]
Which will be able to build an executable for the various operating systems, with all 3 libraries statically linked.
The example files can be as simple as:
#include
int main()
{
Botan::LibraryInitializer init; // Make sure botan is linked
sqlite3 * db; // Make sure sqlite is linked
int rc = sqlite3_key(db, 'test', 4); // Make sure botansqlite3 is linked
boost::shared_ptr boost_test; // Make sure boost is linked
return 0;
}
Compiler should preferably be gcc/g++ for all operating systems.