hxx 2 سال پیش
والد
کامیت
4930c610b0
2فایلهای تغییر یافته به همراه50 افزوده شده و 0 حذف شده
  1. 37 0
      CAE_Solution/tests/boost_test/boost_test.pro
  2. 13 0
      CAE_Solution/tests/gmsh_test/gmsh_test.pro

+ 37 - 0
CAE_Solution/tests/boost_test/boost_test.pro

@@ -10,6 +10,7 @@ SOURCES +=  tst_boost_test.cpp
 
 HEADERS += \
     myqueue.h
+CONFIG(release, debug|release):{
 win32: LIBS += -L$$PWD/../../Libs/boost/win/lib/ -llibboost_atomic-vc140-mt-x64-1_73 \
                                                  -llibboost_chrono-vc140-mt-x64-1_73 \
                                                  -llibboost_container-vc140-mt-x64-1_73 \
@@ -45,6 +46,42 @@ win32: LIBS += -L$$PWD/../../Libs/boost/win/lib/ -llibboost_atomic-vc140-mt-x64-
                                                  -llibboost_unit_test_framework-vc140-mt-x64-1_73 \
                                                  -llibboost_wave-vc140-mt-x64-1_73 \
                                                  -llibboost_wserialization-vc140-mt-x64-1_73
+}
+CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Libs/boost/win/lib/ -llibboost_atomic-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_chrono-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_container-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_context-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_contract-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_coroutine-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_date_time-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_exception-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_filesystem-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_graph-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_iostreams-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_locale-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_c99-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_c99f-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_c99l-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_tr1-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_tr1f-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_math_tr1l-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_nowide-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_prg_exec_monitor-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_program_options-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_random-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_regex-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_serialization-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_stacktrace_noop-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_stacktrace_windbg-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_stacktrace_windbg_cached-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_system-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_test_exec_monitor-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_thread-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_timer-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_type_erasure-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_unit_test_framework-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_wave-vc140-mt-gd-x64-1_73 \
+                                                                        -llibboost_wserialization-vc140-mt-gd-x64-1_73
 
 INCLUDEPATH += $$PWD/../../Libs/boost/win/include/boost-1_73
 DEPENDPATH += $$PWD/../../Libs/boost/win/include/boost-1_73

+ 13 - 0
CAE_Solution/tests/gmsh_test/gmsh_test.pro

@@ -9,6 +9,19 @@ TEMPLATE = app
 SOURCES +=  tst_gmsh_test.cpp
 
 win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Libs/gmsh/win/lib/ -lgmsh
+win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Libs/gmsh/win/lib/ -lgmsh
 
 INCLUDEPATH += $$PWD/../../Libs/gmsh/win/include
 DEPENDPATH += $$PWD/../../Libs/gmsh/win/include
+
+lib_install.files += $$PWD/../../Libs/gmsh/win/lib/gmsh-4.11.dll
+windows{
+    CONFIG(debug,debug|release){
+        lib_install.path = $${OUT_PWD}/debug
+        }
+
+    CONFIG(release,debug|release){
+        lib_install.path = $${OUT_PWD}/release
+        }
+}
+COPIES += lib_install