Skip to content

Commit

Permalink
configure.in: Allow using catch2 from system.
Browse files Browse the repository at this point in the history
* configure.in (--with-catch2): New option.
[PKG_CONFIG]: Search catch2 via pkg-config, fall back to use bundled
copy.  Add a new WX_TEST_CXXFLAGS Autoconf variable to configure the
include directory.
* build/bakefiles/config.bkl (WX_TEST_CXXFLAGS): Add option.
* tests/test.bkl [autoconf]: Add WX_TEST_CXXFLAGS option to cxxflags.
* configure: Regenerate via ./autogen.sh.
* tests/Makefile.in: Likewise.
  • Loading branch information
Apteryks committed Jun 19, 2023
1 parent c1fd387 commit 2974386
Show file tree
Hide file tree
Showing 5 changed files with 6,638 additions and 7,823 deletions.
1 change: 1 addition & 0 deletions build/bakefiles/config.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ compiled .lib files and setup.h under the lib/ toplevel directory.
<option name="WX_CFLAGS"/>
<option name="WX_CXXFLAGS"/>
<option name="WX_LDFLAGS"/>
<option name="WX_TEST_CXXFLAGS"/>
<option name="HOST_SUFFIX"/>
<option name="DYLIB_RPATH_INSTALL"/>
<option name="DYLIB_RPATH_POSTLINK"/>
Expand Down

0 comments on commit 2974386

Please sign in to comment.