will you need to have it as DLL on WindowsĮverything from this list is handled by CMake.
when its sources are nested in their source tree.
when they are using it pre-built as an external dependency.
how other applications can find the library.
CLOUD9 CMAKE INSTALL PREFIX INSTALL
where install artifacts should be placed.
what artifacts should the library produce at install step.
Here are some of the things you need to take care of: But doing just that would be too easy, wouldn’t it. Making a library with CMake is not that different from making an application - instead of add_executable you call add_library. Ln -s `pwd`/plugins-client/ext.#include const std ::string someString = "some string" CMakeLists Ln -s `pwd`/plugins-client/ext.language /tmp/c9_worker_build/ext/language Mkdir -p plugins-client/lib.ace/www/worker * at Process._handle.onexit (child_process.js:674:10) (/usr/local/lib/node_modules/sm/node_modules/sourcemint-pm-sm/node_modules/sourcemint-pm-npm/lib/npm.js:77:29) * In package: /home/cyberlight/test/cloud9ide/cloud9 * npm ERR! Additional logging details can be found in: * npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "." "-production" * npm ERR! There is likely additional logging output above. * npm ERR! Tell the author that this fails on your system: * npm ERR! This is most likely a problem with the libxml package, * npm ERR! Failed at the preinstall script. * npm ERR! `sh "-c" "./build.sh"` failed with 1 * File "/usr/local/bin/./lib/node/wafadmin/Scripting.py", line 147, in prepare * Scripting.prepare(t, os.getcwd(), VERSION, wafdir) * File "/usr/local/bin/node-waf", line 16, in Waf: Leaving directory `/home/cyberlight/.sourcemint/install-cache/https//ajaxorg/packager/tarball/01597eacd22ad660977d43c44b4001107117b8ea/node_modules/libxml/support/o3/build' cxx: hosts/node-o3/sh_node_ -> build/Release/hosts/node-o3/sh_node_libs_1.oġ6:35:32 runner system command -> cxx: hosts/node-o3/sh_ -> build/Release/hosts/node-o3/sh_node_1.oġ6:35:31 runner system command -> Waf: Entering directory `/home/cyberlight/.sourcemint/install-cache/https//ajaxorg/packager/tarball/01597eacd22ad660977d43c44b4001107117b8ea/node_modules/libxml/support/o3/build' 'configure' finished successfully (0.041s) > preinstall /home/cyberlight/.sourcemint/install-cache/https//ajaxorg/packager/tarball/01597eacd22ad660977d43c44b4001107117b8ea/node_modules/libxmlĬhecking for program g++ or c++ : /usr/bin/g++Ĭhecking for program ranlib : /usr/bin/ranlib * Error: NPM error: npm WARN package.json No README.md file found!