Поправил CMakeLists.txt для Release

This commit is contained in:
2025-04-16 12:52:08 +03:00
parent 4a969f7b80
commit f63b2d75c4
8 changed files with 435 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ if(PROJECT_TYPE_DEBUG)
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${REPO_PATH}/BUILDS/Debug64/DataBaseLMS/libDataBaseLMS.dll
${REPO_PATH}/BUILDS/Debug64/GUIdataBaseLMS)
elseif()
else()
add_custom_command(TARGET DataBaseLMS
POST_BUILD

View File

@@ -26,7 +26,9 @@ bool DataBaseLMS::createConnection()
db->setUserName(dbUserName);
db->setPassword(dbPassword);
db->setPort(5432);
db->setHostName("192.168.100.87");
//db->setHostName("192.168.100.87");
//db->setHostName("192.168.100.248");
db->setHostName("192.168.100.239");
bool res = db->open();