Commit f3ebdb88 authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

Moved all dependencies to folder deps

parent 8331dbbd
......@@ -8,3 +8,6 @@
#${CMAKE_CURRENT_LIST_DIR}/lv2/lv2
#)
#add_library(lilv lilv.c lilv.h)
#target_include_directories(lilv PUBLIC ${CMAKE_CURRENT_LIST_DIR})
......@@ -4,11 +4,11 @@ option(XPLUG_LADSPA_SUPPORT "Support vor LADSPA" ON)
if(XPLUG_LADSPA_SUPPORT)
include(symbol_export)
add_library(ladspa "ladspa.h" "ladspa.cpp")
add_library(ladspa "ladspa.cpp")
set_target_properties(ladspa PROPERTIES POSITION_INDEPENDENT_CODE True)
target_link_libraries(ladspa XPlug)
target_compile_features(ladspa PUBLIC cxx_std_11)
target_include_directories(ladspa PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../src)
target_include_directories(ladspa PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../src ${PROJECT_SOURCE_DIR}/deps)
EXPORT_SYMBOLS(ladspa FUNCTION_NAMES ladspa_descriptor)
install(TARGETS ladspa EXPORT XPlugExport DESTINATION lib)
add_subdirectory(tests)
......
if(XPLUG_BUILD_TESTS)
target_include_directories(XValidate PUBLIC ${CMAKE_CURRENT_LIST_DIR}/..)
target_include_directories(XValidate PUBLIC ${CMAKE_CURRENT_LIST_DIR}/.. ${PROJECT_SOURCE_DIR}/deps/)
target_sources(XValidate PUBLIC ${CMAKE_CURRENT_LIST_DIR}/LADSPATestSuite.cpp)
endif(XPLUG_BUILD_TESTS)
\ No newline at end of file
if(XPLUG_BUILD_TESTS)
target_include_directories(XValidate PUBLIC ${LV2_INCLUDE_DIRS})
target_include_directories(XValidate PUBLIC ${LV2_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/deps/)
target_sources(XValidate PUBLIC
${CMAKE_CURRENT_LIST_DIR}/LV2TestSuite.cpp
${CMAKE_CURRENT_LIST_DIR}/lilv.c
${PROJECT_SOURCE_DIR}/deps/lilv.c
)
target_include_directories(regression_tests PUBLIC ${LV2_INCLUDE_DIRS})
target_include_directories(regression_tests PUBLIC ${LV2_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/deps/)
target_sources(regression_tests PUBLIC
${CMAKE_CURRENT_LIST_DIR}/LV2RegressionTest.cpp
${CMAKE_CURRENT_LIST_DIR}/lilv.c)
${PROJECT_SOURCE_DIR}/deps/lilv.c)
endif(XPLUG_BUILD_TESTS)
\ No newline at end of file
add_executable(XValidate
"XValidate.hpp"
"XValidate.hpp"
"XValidate.cpp"
"tools/Logger.hpp"
"tools/clipp.hpp"
"${PROJECT_SOURCE_DIR}/deps/clipp.hpp"
"IFormatTestSuite.hpp" )
target_link_libraries(XValidate PUBLIC XPlug)
target_include_directories(XValidate PUBLIC ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}/../test_utils )
target_include_directories(XValidate PUBLIC ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}/../test_utils ${PROJECT_SOURCE_DIR}/deps/ )
#include "tools/clipp.hpp"
#include "clipp.hpp"
#include "tools/Logger.hpp"
#include "XValidate.hpp"
#include "IFormatTestSuite.hpp"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment