import testing ;

lib MOTreeCommands :
	MOTreeCommand.cpp
	ActionCommand.cpp
	AlertCommand.cpp
	AlertResponseCommand.cpp
	MOTreeAddCommand.cpp
	MOTreeAtomicCommand.cpp
	MOTreeCopyCommand.cpp
	MOTreeDeleteCommand.cpp
	MOTreeExecCommand.cpp
	MOTreeGetCommand.cpp
	MOTreeGetCommandTest.cpp
	MOTreeGetResponseCommand.cpp
	MOTreeItemisedCommand.cpp
	MOTreeReplaceCommand.cpp
	MOTreeResponseCommand.cpp
	MOTreeSequenceCommand.cpp
	ValidDMAccAvailableCommand.cpp
	ValidDMAccByServerIDCommand.cpp
	ChangePasswordCommand.cpp
	ChangePasswordByServerIDCommand.cpp
	:  <link>static
	;

unit-test UTestMOTreeCommands :
    UnitTests/main.cpp
    UnitTests/Mocks/MOTreeManagerMock.cpp
    UnitTests/Mocks/ExecutionQueueMock.cpp
    UnitTests/Mocks/ServerExchangeManagerMock.cpp
	UnitTests/AddCommandTests.cpp
	UnitTests/CopyCommandTests.cpp
	UnitTests/DeleteCommandTests.cpp
	UnitTests/ReplaceCommandTests.cpp
	UnitTests/GetCommandTests.cpp
	UnitTests/ExecCommandTests.cpp
	../../common//Common 
    ../../DeviceAdapter//Diagnostics
    ../../executionqueue//ExecutionQueue 				
    ../../serverexchange//ServerExchangeManager 
	../../common//FifoWrapper 
    ../../DaemonDM//UIAPI
	..//MOTreeManager
	.//MOTreeCommands 
	../../DeviceAdapter/ManagementObjects/TNDSMgmtTree//TNDSMgmtTree
	../../DataStorage//DataStorage 
	../../Logger//Logger 
	../..//funambol 
	../../daemon//DaemonUtils 
	../../daemon//DaemonEngine 
	:
	<os>LINUX:<library>../..//libcurl
	<os>MACOSX:<library>../..//libcurl
	<os>NT:<library>../..//libcurl
	<os>LINUX:<library>../..//boost
	<os>MACOSX:<library>../..//boost
	;
