summaryrefslogtreecommitdiff
path: root/ldmicro
diff options
context:
space:
mode:
authorakshay-c2019-04-09 11:21:52 +0530
committerakshay-c2019-04-09 11:21:52 +0530
commitb874e82bc5a6856c4b2fa4c19f98ab2269daebc6 (patch)
tree29c5c6196b92e634750face1dd53dd84072be495 /ldmicro
parentdf1231112f08a66addd444c08839dee87905974d (diff)
downloadLDmicroQt-b874e82bc5a6856c4b2fa4c19f98ab2269daebc6.tar.gz
LDmicroQt-b874e82bc5a6856c4b2fa4c19f98ab2269daebc6.tar.bz2
LDmicroQt-b874e82bc5a6856c4b2fa4c19f98ab2269daebc6.zip
minor corrections/typos
Diffstat (limited to 'ldmicro')
-rw-r--r--ldmicro/CMakeLists.txt4
-rw-r--r--[-rwxr-xr-x]ldmicro/txt2c.pl0
2 files changed, 3 insertions, 1 deletions
diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt
index 7fa3577..2b4d332 100644
--- a/ldmicro/CMakeLists.txt
+++ b/ldmicro/CMakeLists.txt
@@ -64,7 +64,7 @@ IF(UNIX)
add_custom_command(
OUTPUT ${OBJDIR}/helptext.cpp
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- COMMAND perl txt2c.pl > ${OBJDItR}/helptext.cpp
+ COMMAND perl txt2c.pl > ${OBJDIR}/helptext.cpp
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/manual*.txt")
set(SCRIPT_GENERATED_FILES ${OBJDIR}/helptext.cpp
@@ -99,6 +99,8 @@ IF(UNIX)
# MESSAGE( STATUS " GTK3_LIBRARIES: " ${GTK3_LIBRARIES} )
ENDIF ( GTK3_FOUND )
+ set_property(SOURCE ${OBJDIR}/helptext.cpp PROPERTY SKIP_AUTOGEN ON)
+
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
diff --git a/ldmicro/txt2c.pl b/ldmicro/txt2c.pl
index a2745dc..a2745dc 100755..100644
--- a/ldmicro/txt2c.pl
+++ b/ldmicro/txt2c.pl