4
0
mirror of https://github.com/QuasarApp/CopyrightFixer.git synced 2025-05-08 07:29:45 +00:00

ref Connecting and using the QuasarAppLib.

This commit is contained in:
IgorekLoschinin 2021-04-12 22:45:49 +03:00
parent 4d08eb810c
commit 878ac66c26
3 changed files with 11 additions and 2 deletions
CMake
src
CFixer
CopyrighFixer

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})