mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 13:40:52 +01:00
Cmake for UI files auto link
this is one of the errors: the ui files must be linked and changed to h files so the h files found in the code by preprocessor
This commit is contained in:
@@ -20,6 +20,11 @@ message("_____________________________________________________________________")
|
||||
|
||||
project(G_unittests LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
SET(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
if(DEFINED ENV{QET_DIR})
|
||||
set(QET_DIR "../..")
|
||||
message("QET_DIR is not set, assuming QET is ../..")
|
||||
|
||||
Reference in New Issue
Block a user