project(hello_dll_project) {
// This tells the linker to create a dll or shared library, with the name, "hello_shared"
sharedname = hello_shared

// These are macro definitions passed to the compiler
specific (vc8,nmake) {
dynamicflags += HELLODLL
}

// dllout tells the linker where to place the final shared library
// there are two different locations for windows and linux
// libpaths tells the linker where to look for libraries
// also you can define/undefine template variables here.
// I am setting optimize to false (undefining it),
specific(make) {
dllout=/usr/local/cvs-user/lib
libpaths = "/usr/local/cvs-user/lib"
}
specific(vc8,nmake) {
dllout=../bin
libpaths = "../bin"
}

// include the current directory and the ../include directory
includes += "."
includes += "../include"

// This lets you pass compile flags for specific platforms
specific(make) {
optimize =
}

Source_Files {
conditional(vc8,nmake) {
//buildflags = /Zi /Od /MD /nologo /Wp64 /EHs /D "WIN32" /D "_CONSOLE"
dll.main.cpp
}
hello_dll.cpp
}

Header_Files {
../include/hello.h
}
}