mirror of
https://github.com/serge1/ELFIO.git
synced 2025-01-01 08:59:21 +00:00
Conditional compilation for boost library linkage
This commit is contained in:
parent
4eb7a2d216
commit
56585d98e2
@ -4,7 +4,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOST_TEST_MAIN
|
#define BOOST_TEST_MAIN
|
||||||
|
#ifndef _MSC_VER
|
||||||
#define BOOST_TEST_DYN_LINK
|
#define BOOST_TEST_DYN_LINK
|
||||||
|
#endif
|
||||||
#define BOOST_TEST_MODULE ELFIO_Test
|
#define BOOST_TEST_MODULE ELFIO_Test
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CXX=g++
|
CXX=g++
|
||||||
CPPFLAGS=-c -Wall -std=c++0x -I..
|
CPPFLAGS=-c -Wall -std=c++0x -I..
|
||||||
LDLIBS=-lboost_unit_test_framework-mt
|
LDLIBS=-lboost_unit_test_framework
|
||||||
|
|
||||||
ELFIODIR=../elfio/
|
ELFIODIR=../elfio/
|
||||||
SOURCES=ELFIOTest.cpp ELFIOTest1.cpp
|
SOURCES=ELFIOTest.cpp ELFIOTest1.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user