]> sigrok.org Git - pulseview.git/commit
Do not pass -DBOOST_TEST_DYN_LINK to pulseview
authorAlexandru Gagniuc <redacted>
Sat, 13 Oct 2012 00:11:16 +0000 (19:11 -0500)
committerUwe Hermann <redacted>
Sat, 13 Oct 2012 13:02:59 +0000 (15:02 +0200)
commitfb746bcc3d2b317e7ced838ff0f90cdf3dfe7aed
treef15a0be6506d56ab90552201fe9ae977de07adb5
parent57821103f8a0b9a77e304c94e167178d29ab0fbd
Do not pass -DBOOST_TEST_DYN_LINK to pulseview

-DBOOST_TEST_DYN_LINK is meant to be passed only to pulseview-test,
not to pulseview. When test were enabled, this flag was defined
globally, and as a result, also passed to pulseview.

Create a CMakeLists.txt for test, and add test as a subdirectory
when tests are enabled. This way, -DBOOST_TEST_DYN_LINK is only
defined for our test app.

Signed-off-by: Alexandru Gagniuc <redacted>
CMakeLists.txt
test/CMakeLists.txt [new file with mode: 0644]