Menu

Tree [e07460] default tip /  History

Read Only access


File Date Author Commit
 .hgignore 2013-12-25 Ronny Wegener Ronny Wegener [800bf6] * added rpm support
 README 2013-12-25 Ronny Wegener Ronny Wegener [5fc157] * updated readme
 configure 2015-10-31 Ronny Wegener Ronny Wegener [e07460] + preparaions for lsb detection in fedora/openSuse

Read Me

################################ ### Initialize a new project ### ################################ # # create initial project titled 'my-app', the corresponding directory structure and generate files # ./configure --init 'my-app' # # On ALL linux OS: # [OPTIONAL: change settings in shell script 'config_default.sh'] # configure, build and run the binary with the following commands: # ./configure make ./build/linux/bin/my-app # # On DEB based OS: # [OPTIONAL: change settings in shell script 'config_default.sh'] # configure, build, install, run and uninstall the binary with the following commands: # ./configure --prefix=/usr make	sudo make deb	sudo dpkg --install my-app*.deb	my-app	sudo dpkg --remove my-app # # On RPM based OS: # [OPTIONAL: change settings in shell script 'config_default.sh'] # configure, build, install, run and uninstall the binary with the following commands: # ./configure --prefix=/usr make	sudo make rpm	sudo rpm --install my-app*.rpm	my-app	sudo rpm --erase my-app # # On mingw/msys: # [OPTIONAL: change settings in shell script 'config_default.sh' or 'config_mingw.sh'] # configure, build and run the binary with the following commands: # ./configure --config-mingw make ./build/msw/bin/my-app.exe ################################################################################ ### Shared library 'config_lib-shared.sh' (with default compiler and linker) ### ################################################################################ #!/bin/sh # import setings from config-default . ./config_default.sh BINFILE="$DISTROOT/bin/libmy-app.so.1" CFLAGS=" -c -Wall -O2 -fPIC -fvisibility=hidden -Iinclude " LDFLAGS=" -s -shared -Wl,-soname,libmy-app.so.1 " ################################################################### ### Static library 'config_lib-static.sh' (with 'ar' as linker) ### ################################################################### #!/bin/sh # import setings from config-default . ./config_default.sh BINFILE="$DISTROOT/bin/libmy-app.a" LD="ar" LDFLAGS="	-r	-c	" LDLIBS="" 
MongoDB Logo MongoDB