mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-30 15:32:37 +00:00
Cleaned up CMakeLists.txt in core and box.
This commit is contained in:
parent
be34186303
commit
efc81d352a
@ -30,55 +30,6 @@ set(CORE_SOURCES
|
||||
../3rdparty/src/sqlite/sqlite3.c
|
||||
)
|
||||
|
||||
set (CORE_HEADERS
|
||||
./config.h
|
||||
./debug.h
|
||||
./pch.hpp
|
||||
./audio/Buffer.h
|
||||
./audio/Player.h
|
||||
./audio/Stream.h
|
||||
./db/CachedStatement.h
|
||||
./db/Connection.h
|
||||
./db/ScopedTransaction.h
|
||||
./db/Statement.h
|
||||
./db/dbconfig.h
|
||||
./io/DataStreamFactory.h
|
||||
./io/LocalFileStream.h
|
||||
./library/IIndexer.h
|
||||
./library/ILibrary.h
|
||||
./library/IQuery.h
|
||||
./library/Indexer.h
|
||||
./library/LibraryFactory.h
|
||||
./library/LocalLibrary.h
|
||||
./library/LocalLibraryConstants.h
|
||||
./library/metadata/MetadataKeyValue.h
|
||||
./library/metadata/MetadataValue.h
|
||||
./library/query/QueryBase.h
|
||||
./library/track/IndexerTrack.h
|
||||
./library/track/LibraryTrack.h
|
||||
./library/track/Track.h
|
||||
./playback/NonLibraryTrackHelper.h
|
||||
./playback/Transport.h
|
||||
./plugin/PluginFactory.h
|
||||
./sdk/IAnalyzer.h
|
||||
./sdk/IBuffer.h
|
||||
./sdk/IBufferProvider.h
|
||||
./sdk/IDSP.h
|
||||
./sdk/IDataStream.h
|
||||
./sdk/IDataStreamFactory.h
|
||||
./sdk/IDecoder.h
|
||||
./sdk/IDecoderFactory.h
|
||||
./sdk/IMetadataReader.h
|
||||
./sdk/IMetadataWriter.h
|
||||
./sdk/IOutput.h
|
||||
./sdk/IPlugin.h
|
||||
./sdk/config.h
|
||||
./support/Common.h
|
||||
./support/Preferences.h
|
||||
./support/ThreadHelper.h
|
||||
./support/Version.h
|
||||
)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
..
|
||||
@ -91,5 +42,5 @@ add_definitions(
|
||||
-D_DEBUG
|
||||
)
|
||||
|
||||
add_library(musikcore STATIC ${CORE_SOURCES} ${CORE_HEADERS})
|
||||
add_library(musikcore STATIC ${CORE_SOURCES})
|
||||
target_link_libraries(musikcore ${musikbox_LINK_LIBS})
|
||||
|
@ -37,52 +37,5 @@ set (BOX_SRCS
|
||||
./cursespp/WindowLayout.cpp
|
||||
)
|
||||
|
||||
set (BOX_HEADERS
|
||||
./stdafx.h
|
||||
./app/layout/LibraryLayout.h
|
||||
./app/layout/ConsoleLayout.h
|
||||
./app/query/CategoryListViewQuery.h
|
||||
./app/query/SingleTrackQuery.h
|
||||
./app/query/TrackListQueryBase.h
|
||||
./app/service/PlaybackService.h
|
||||
./app/util/GlobalHotkeys.h
|
||||
./app/util/SystemInfo.h
|
||||
./app/util/Text.h
|
||||
./app/window/CategoryListView.h
|
||||
./app/window/CommandWindow.h
|
||||
./app/window/LogWindow.h
|
||||
./app/window/OutputWindow.h
|
||||
./app/window/ResourcesWindow.h
|
||||
./app/window/TrackListView.h
|
||||
./app/window/TransportWindow.h
|
||||
./cursespp/Colors.h
|
||||
./cursespp/curses_config.h
|
||||
./cursespp/IDisplayable.h
|
||||
./cursespp/IInput.h
|
||||
./cursespp/IKeyHandler.h
|
||||
./cursespp/ILayout.h
|
||||
./cursespp/ILayoutStack.h
|
||||
./cursespp/IMessage.h
|
||||
./cursespp/IMessageTarget.h
|
||||
./cursespp/IOrderable.h
|
||||
./cursespp/IScrollable.h
|
||||
./cursespp/IScrollAdapter.h
|
||||
./cursespp/IWindow.h
|
||||
./cursespp/IWindowGroup.h
|
||||
./cursespp/LayoutBase.h
|
||||
./cursespp/LayoutStack.h
|
||||
./cursespp/ListWindow.h
|
||||
./cursespp/Message.h
|
||||
./cursespp/MessageQueue.h
|
||||
./cursespp/MultiLineEntry.h
|
||||
./cursespp/Screen.h
|
||||
./cursespp/ScrollableWindow.h
|
||||
./cursespp/ScrollAdapterBase.h
|
||||
./cursespp/SimpleScrollAdapter.h
|
||||
./cursespp/SingleLineEntry.h
|
||||
./cursespp/Window.h
|
||||
./cursespp/WindowLayout.h
|
||||
)
|
||||
|
||||
add_executable(musikbox ${BOX_SRCS} ${BOX_HEADERS})
|
||||
add_executable(musikbox ${BOX_SRCS})
|
||||
target_link_libraries(musikbox ${musikbox_LINK_LIBS} curses panel musikcore)
|
||||
|
Loading…
x
Reference in New Issue
Block a user