mirror of
https://github.com/QuasarApp/CopyrightFixer.git
synced 2025-05-08 07:29:45 +00:00
ref #6 Connecting and using the QuasarAppLib.
This commit is contained in:
parent
4d08eb810c
commit
878ac66c26
1
CMake
Submodule
1
CMake
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c59a0c81555a281273b38095613472abc0fe73b7
|
@ -5,6 +5,15 @@
|
||||
//# of this license document, but changing it is not allowed.
|
||||
//#
|
||||
|
||||
#include <quasarapp.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
if (!QuasarAppUtils::Params::parseParams(argc, argv)) {
|
||||
QuasarAppUtils::Params::log("wrong parametrs", QuasarAppUtils::Warning);
|
||||
exit(0);
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -25,8 +25,7 @@ set(PRIVATE_INCUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Private")
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCE_CPP})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Qt${QT_VERSION_MAJOR}::Core)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC QuasarApp)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Qt${QT_VERSION_MAJOR}::Core QuasarApp)
|
||||
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${PUBLIC_INCUDE_DIR})
|
||||
|
Loading…
x
Reference in New Issue
Block a user