You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvidia-texture-tools/src/nvcore/poshlib/tests/linktest/linktest.cpp

24 lines
586 B
C++

#include "testlib.hpp"
#include "testdll.h"
#include <stdio.h>
int main( void )
{
printf( "linktest:\n" );
printf( "---------\n" );
printf( "linktest is a simple verification test that tests:\n" );
printf( " * correct linkage between C and C++\n" );
printf( " * proper handling when multiple libs use posh\n" );
printf( " * correct handling of DLL vs. LIB linkage (Windows)\n" );
printf( "\n\n" );
printf( "POSH_GetArchString() reporting:\n%s\n\n", POSH_GetArchString() );
TestLib_Foo();
TestDLL_Foo();
printf( "\n\nlinktest succeeded!\n" );
return 0;
}