48 lines
686 B
CMake
48 lines
686 B
CMake
add_library(
|
|
StudioAppLib
|
|
aboutpopup.cpp
|
|
clawviewer.cpp
|
|
deleteconfirmation.cpp
|
|
filedialogmanager.cpp
|
|
main.cpp
|
|
makecopypopup.cpp
|
|
newdir.cpp
|
|
newmenu.cpp
|
|
newproject.cpp
|
|
projectexplorer.cpp
|
|
renamefile.cpp
|
|
studioapp.cpp
|
|
)
|
|
target_compile_definitions(
|
|
StudioAppLib PUBLIC
|
|
OLYMPIC_GUI_APP=1
|
|
OLYMPIC_LOAD_STUDIO_MODULES=1
|
|
OLYMPIC_APP_NAME="Studio"
|
|
)
|
|
target_link_libraries(
|
|
StudioAppLib PUBLIC
|
|
OxClArgs
|
|
OxLogConn
|
|
Studio
|
|
)
|
|
|
|
target_include_directories(
|
|
StudioAppLib PUBLIC
|
|
../include
|
|
)
|
|
|
|
install(
|
|
DIRECTORY
|
|
../include/studioapp
|
|
DESTINATION
|
|
include
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
StudioAppLib
|
|
DESTINATION
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|