forked from gnuradio/gnuradio
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
- Loading branch information
1 parent
4e777f1
commit ab2fb35
Showing
97 changed files
with
1,568 additions
and
2,706 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
# JACK_FOUND - system has jack | ||
# JACK_INCLUDE_DIRS - the jack include directory | ||
# JACK_LIBRARIES - Link these to use jack | ||
# JACK_DEFINITIONS - Compiler switches required for using jack | ||
# | ||
# Copyright (c) 2008 Andreas Schneider <[email protected]> | ||
# Modified for other libraries by Lasse Kärkkäinen <tronic> | ||
|
@@ -78,5 +77,13 @@ else (JACK_LIBRARIES AND JACK_INCLUDE_DIRS) | |
# show the JACK_INCLUDE_DIRS and JACK_LIBRARIES variables only in the advanced view | ||
mark_as_advanced(JACK_INCLUDE_DIRS JACK_LIBRARIES) | ||
|
||
endif (JACK_LIBRARIES AND JACK_INCLUDE_DIRS) | ||
if (JACK_FOUND AND NOT TARGET JACK::JACK) | ||
add_library(JACK::JACK INTERFACE IMPORTED) | ||
set_target_properties(JACK::JACK PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES "${JACK_INCLUDE_DIRS}" | ||
INTERFACE_LINK_LIBRARIES "${JACK_LIBRARIES}" | ||
) | ||
endif() | ||
|
||
|
||
endif (JACK_LIBRARIES AND JACK_INCLUDE_DIRS) |
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
Oops, something went wrong.