-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris Dyer
committed
Mar 5, 2015
1 parent
3d2a607
commit 42e6a28
Showing
11 changed files
with
59 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
example_extff/libff_example.so* | ||
Testing/ | ||
*/Testing/ | ||
training/Testing/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# - Find libdl | ||
# Find the native LIBDL includes and library | ||
# | ||
# LIBDL_INCLUDE_DIR - where to find dlfcn.h, etc. | ||
# LIBDL_LIBRARIES - List of libraries when using libdl. | ||
# LIBDL_FOUND - True if libdl found. | ||
|
||
|
||
IF (LIBDL_INCLUDE_DIR) | ||
# Already in cache, be silent | ||
SET(LIBDL_FIND_QUIETLY TRUE) | ||
ENDIF (LIBDL_INCLUDE_DIR) | ||
|
||
FIND_PATH(LIBDL_INCLUDE_DIR dlfcn.h) | ||
|
||
SET(LIBDL_NAMES dl libdl ltdl libltdl) | ||
FIND_LIBRARY(LIBDL_LIBRARY NAMES ${LIBDL_NAMES} ) | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set LIBDL_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibDL DEFAULT_MSG LIBDL_LIBRARY LIBDL_INCLUDE_DIR) | ||
|
||
IF(LIBDL_FOUND) | ||
SET( LIBDL_LIBRARIES ${LIBDL_LIBRARY} ) | ||
ELSE(LIBDL_FOUND) | ||
SET( LIBDL_LIBRARIES ) | ||
ENDIF(LIBDL_FOUND) | ||
|
||
MARK_AS_ADVANCED( LIBDL_LIBRARY LIBDL_INCLUDE_DIR ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include_directories() | ||
set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||
|
||
set(TEST_SRCS dict_test.cc | ||
logval_test.cc | ||
|