Added CMakeLists.txt
This commit is contained in:
35
CMakeLists.txt
Normal file
35
CMakeLists.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
project(DbGuiLib)
|
||||
|
||||
set(HEADERS
|
||||
dbguilib_global.h
|
||||
editorfactory.h
|
||||
ledindicator.h
|
||||
limitedspinbox.h
|
||||
matrix4x4widget.h
|
||||
quaternionwidget.h
|
||||
stringlistwidget.h
|
||||
urlwidget.h
|
||||
vector2dwidget.h
|
||||
vector3dwidget.h
|
||||
vector4dwidget.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
editorfactory.cpp
|
||||
ledindicator.cpp
|
||||
matrix4x4widget.cpp
|
||||
quaternionwidget.cpp
|
||||
stringlistwidget.cpp
|
||||
urlwidget.cpp
|
||||
vector2dwidget.cpp
|
||||
vector3dwidget.cpp
|
||||
vector4dwidget.cpp
|
||||
)
|
||||
|
||||
add_library(dbguilib ${HEADERS} ${SOURCES})
|
||||
|
||||
target_compile_definitions(dbguilib PRIVATE DBGUILIB_LIBRARY)
|
||||
|
||||
target_link_libraries(dbguilib Qt5::Core Qt5::Gui Qt5::Widgets)
|
||||
|
||||
target_include_directories(dbguilib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
Reference in New Issue
Block a user