Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITAConvolution
Commits
908c4799
Commit
908c4799
authored
Aug 24, 2021
by
Pascal Palenda
Browse files
Update app CMakeLists
parent
dd99138b
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/CMakeLists.txt
View file @
908c4799
add_subdirectory
(
"ita_convoi"
)
\ No newline at end of file
add_subdirectory
(
ita_convoi
)
apps/ita_convoi/CMakeLists.txt
View file @
908c4799
cmake_minimum_required
(
VERSION
2.8
)
cmake_minimum_required
(
VERSION
3.14 FATAL_ERROR
)
project
(
ita_convoi
)
list
(
APPEND CMAKE_MODULE_PATH
"$ENV{VISTA_CMAKE_COMMON}"
)
include
(
VistaCommon
)
project
(
ita_convoi
)
vista_use_package
(
ITAConvolution REQUIRED FIND_DEPENDENCIES
)
vista_use_package
(
ITADataSources REQUIRED FIND_DEPENDENCIES
)
vista_use_package
(
VistaCoreLibs REQUIRED COMPONENTS VistaTools
)
add_executable
(
${
PROJECT_NAME
}
ita_convoi.cpp
)
target_link_libraries
(
${
PROJECT_NAME
}
PUBLIC ITAConvolution::ITAConvolution ITADataSources::ITADataSources
)
if
(
NOT ITA_CORE_LIBS_INSTALL_WITH_DLLS
)
set
(
ITA_CORE_LIBS_INSTALL_WITH_DLLS ON CACHE BOOL
"Install ita_convoi with depending DLLs (use this switch with care)"
)
endif
(
)
target_compile_features
(
${
PROJECT_NAME
}
PUBLIC cxx_std_11
)
if
(
ITA_CORE_LIBS_BUILD_STATIC
)
add_definitions
(
-DITA_BASE_STATIC -DITA_FFT_STATIC -DITA_CONVOLUTION_STATIC -DITA_DATA_SOURCES_STATIC
)
endif
(
)
if
(
NOT WIN32
)
target_link_libraries
(
${
PROJECT_NAME
}
PUBLIC ncurses
)
endif
(
)
if
(
NOT WIN32
)
add_definitions
(
-std=gnu++11
)
list
(
APPEND VISTA_USE_PACKAGE_LIBRARIES ncurses
)
endif
(
)
set_property
(
TARGET ita_convoi PROPERTY FOLDER
"Apps/ITAConvolution"
)
add_executable
(
ita_convoi
"ita_convoi.cpp"
)
target_link_libraries
(
ita_convoi
${
VISTA_USE_PACKAGE_LIBRARIES
}
)
vista_set_target_msvc_arguments
(
ita_convoi
"lang_short.wav rir_2s.wav"
)
vista_configure_app
(
ita_convoi
)
vista_install
(
ita_convoi
)
vista_create_default_info_file
(
ita_convoi
)
set_property
(
TARGET ita_convoi PROPERTY FOLDER
"ITACoreLibs/Apps/ITAConvolution"
)
if
(
ITA_CORE_LIBS_INSTALL_WITH_DLLS
)
vista_install_all_dlls
(
bin
)
endif
(
)
install
(
TARGETS ita_convoi RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment