-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmake] Change the way how shared libraries are built #10130
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
bdf512c
[cmake] Update README.md
fetzerch 179f823
[cmake/windows] Fix compilation of tests
fetzerch f3c6685
[cmake] Let ExternalProject_Add figure out the right 'make' command
fetzerch 17a39c8
[cmake] Move platform specific targets into separate files
fetzerch cd524ef
[cmake] Add project wide dependency to libcpluff and ffmpeg
fetzerch ce6e19b
[cmake] Add binary-addons target for makefile generator
fetzerch fcefeb5
[cmake] Build unrarxlib and libupnp without core_add_library
fetzerch 66f8216
[cmake] Change the way shared libraries are built
fetzerch 67d335a
[cmake/win32] Set startup project and generate launcher for Visual St…
fetzerch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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,8 +1,2 @@ | ||
set(SOURCES libKODI_adsp.cpp) | ||
|
||
core_add_library(KODI_adsp NO_MAIN_DEPENDS) | ||
set_target_properties(KODI_adsp PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(KODI_adsp PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(KODI_adsp) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libKODI_audioengine.cpp) | ||
|
||
core_add_library(KODI_audioengine NO_MAIN_DEPENDS) | ||
set_target_properties(KODI_audioengine PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(KODI_audioengine PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(KODI_audioengine) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libKODI_guilib.cpp) | ||
|
||
core_add_library(KODI_guilib NO_MAIN_DEPENDS) | ||
set_target_properties(KODI_guilib PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(KODI_guilib PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(KODI_guilib) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libKODI_inputstream.cpp) | ||
|
||
core_add_library(KODI_inputstream NO_MAIN_DEPENDS) | ||
set_target_properties(KODI_inputstream PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(KODI_inputstream PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(KODI_inputstream) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libKODI_peripheral.cpp) | ||
|
||
core_add_library(KODI_peripheral NO_MAIN_DEPENDS) | ||
set_target_properties(KODI_peripheral PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(KODI_peripheral PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(KODI_peripheral) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libXBMC_addon.cpp) | ||
|
||
core_add_library(XBMC_addon NO_MAIN_DEPENDS) | ||
set_target_properties(XBMC_addon PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(XBMC_addon PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(XBMC_addon) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,8 +1,2 @@ | ||
set(SOURCES libXBMC_codec.cpp) | ||
|
||
core_add_library(XBMC_codec NO_MAIN_DEPENDS) | ||
set_target_properties(XBMC_codec PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(XBMC_codec PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi | ||
${CORE_SOURCE_DIR}/xbmc) | ||
project(XBMC_codec) | ||
core_add_addon_library(${PROJECT_NAME}) |
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,10 +1,3 @@ | ||
set(SOURCES libXBMC_pvr.cpp) | ||
|
||
core_add_library(XBMC_pvr NO_MAIN_DEPENDS) | ||
set_target_properties(XBMC_pvr PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
target_include_directories(XBMC_pvr PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CORE_SOURCE_DIR}/addons/library.xbmc.addon | ||
${CORE_SOURCE_DIR}/xbmc | ||
${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include | ||
${CORE_SOURCE_DIR}/xbmc/cores/VideoPlayer/DVDDemuxers) | ||
project(XBMC_pvr) | ||
core_add_addon_library(${PROJECT_NAME}) | ||
target_include_directories(${PROJECT_NAME} PRIVATE ${CORE_SOURCE_DIR}/xbmc/cores/VideoPlayer/DVDDemuxers) |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong.