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