Closed effbiae closed 13 years ago
ahh crap -- it was just the last commit i wanted to talk about.... still learning...
Use "git rebase" to avoid the "Merge branch ..." commits.
the .libs/
strings here are undesirable.
mainly, i was just trying to get make test
working before
the libs were installed (libtool puts all libs in .libs/ prior to
install)
for both cmake and autotools, the built exes and libs are
not put in core/j/bin -- this is part of the make install
or,
on cmake windows (for example):
devenv /build debug /project install j.sln
motivation for this patch was to be able to run jconsole with the DLL in the wrong place for purposes of testing.
plainly, build tool specific code is undesirable in the source.
a potential problem is #defines. for example, as part of the
configure process via autotools, HAVE_DLOPEN
might
be defined. what is the equivalent in CMake? Does CMake
have specific standard defines that differ? i mean, does
CMake define CMAKE_HAVE_DLOPEN
?
In the CMakeLists.txt there's check_library_exists(dl dlopen "" HAVE_DL), which sets the HAVE_DL cmake variable if dlopen is found. add_definitions() could be used to pass -DHAVE_DLOPEN to gcc.
to be revised
This patch is mainly about being able to run the test suite after
make
but beforemake install
I don't expect this to bet pulled, but i'd like to discuss.