Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d57580c
)
Fix bitmapcode helper not building when it should be
release-0.24
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Fri, 9 Oct 2020 20:12:42 +0000
(21:12 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Thu, 15 Oct 2020 18:51:11 +0000
(19:51 +0100)
source/CMakeFunctions/Application.cmake
patch
|
blob
|
history
source/actmgr/CMakeLists.txt
patch
|
blob
|
history
source/common/CMakeLists.txt
patch
|
blob
|
history
source/export/CMakeLists.txt
patch
|
blob
|
history
source/import/CMakeLists.txt
patch
|
blob
|
history
source/search/CMakeLists.txt
patch
|
blob
|
history
source/tools/CMakeLists.txt
patch
|
blob
|
history
source/vcard/CMakeLists.txt
patch
|
blob
|
history
source/widgets/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/source/CMakeFunctions/Application.cmake
b/source/CMakeFunctions/Application.cmake
index
aa8393d
..
2609cd1
100644
(file)
--- a/
source/CMakeFunctions/Application.cmake
+++ b/
source/CMakeFunctions/Application.cmake
@@
-9,6
+9,9
@@
set(MISC_FILE_LIST convert.cpp
add_library(${MISC_TARGET_NAME}
${MISC_FILE_LIST})
add_library(${MISC_TARGET_NAME}
${MISC_FILE_LIST})
+add_dependencies(${MISC_TARGET_NAME}
+ bitmapcode)
+
set(FILE_LIST main.cpp
AppXestiaAddrBk.cpp
AppXestiaAddrBk.h
set(FILE_LIST main.cpp
AppXestiaAddrBk.cpp
AppXestiaAddrBk.h
diff --git
a/source/actmgr/CMakeLists.txt
b/source/actmgr/CMakeLists.txt
index
9e87ae0
..
735c5a2
100644
(file)
--- a/
source/actmgr/CMakeLists.txt
+++ b/
source/actmgr/CMakeLists.txt
@@
-10,3
+10,6
@@
endif()
add_library(${TARGET_NAME}
${FILE_LIST})
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/common/CMakeLists.txt
b/source/common/CMakeLists.txt
index
588c631
..
4621fb8
100644
(file)
--- a/
source/common/CMakeLists.txt
+++ b/
source/common/CMakeLists.txt
@@
-39,3
+39,6
@@
endif()
add_library(${TARGET_NAME}
${FILE_LIST})
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/export/CMakeLists.txt
b/source/export/CMakeLists.txt
index
6073156
..
f4d08c3
100644
(file)
--- a/
source/export/CMakeLists.txt
+++ b/
source/export/CMakeLists.txt
@@
-9,3
+9,6
@@
set(FILE_LIST export.cpp
add_library(${TARGET_NAME}
${FILE_LIST})
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/import/CMakeLists.txt
b/source/import/CMakeLists.txt
index
f71284e
..
708597d
100644
(file)
--- a/
source/import/CMakeLists.txt
+++ b/
source/import/CMakeLists.txt
@@
-13,4
+13,7
@@
set(FILE_LIST frmImportContacts.cpp
import-vcard4.h)
add_library(${TARGET_NAME}
import-vcard4.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/search/CMakeLists.txt
b/source/search/CMakeLists.txt
index
73dfc72
..
5a32543
100644
(file)
--- a/
source/search/CMakeLists.txt
+++ b/
source/search/CMakeLists.txt
@@
-11,4
+11,7
@@
set(FILE_LIST frmSearch.cpp
XABSearchPanel.h)
add_library(${TARGET_NAME}
XABSearchPanel.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/tools/CMakeLists.txt
b/source/tools/CMakeLists.txt
index
fb9e8b8
..
7a05fce
100644
(file)
--- a/
source/tools/CMakeLists.txt
+++ b/
source/tools/CMakeLists.txt
@@
-2,21
+2,30
@@
add_executable(bitmapcode
bitmapcode.cpp)
if (MSVC)
bitmapcode.cpp)
if (MSVC)
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ ${wxWidgets_LIBRARIES})
add_custom_command(
TARGET bitmapcode
POST_BUILD
add_custom_command(
TARGET bitmapcode
POST_BUILD
- COMMAND $(OutDir)/bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
-endif()
-
-if (APPLE)
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
+elseif (APPLE)
target_link_libraries(bitmapcode
LINK_PUBLIC
c++
${wxWidgets_LIBRARIES})
target_link_libraries(bitmapcode
LINK_PUBLIC
c++
${wxWidgets_LIBRARIES})
+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
else()
target_link_libraries(bitmapcode
LINK_PUBLIC
${wxWidgets_LIBRARIES})
else()
target_link_libraries(bitmapcode
LINK_PUBLIC
${wxWidgets_LIBRARIES})
+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
endif()
set (sources
endif()
set (sources
diff --git
a/source/vcard/CMakeLists.txt
b/source/vcard/CMakeLists.txt
index
ac59f5d
..
ee9234c
100644
(file)
--- a/
source/vcard/CMakeLists.txt
+++ b/
source/vcard/CMakeLists.txt
@@
-8,4
+8,7
@@
set(FILE_LIST vcard.cpp
vcard34conv-v4conv.cpp)
add_library(${TARGET_NAME}
vcard34conv-v4conv.cpp)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
diff --git
a/source/widgets/CMakeLists.txt
b/source/widgets/CMakeLists.txt
index
5621203
..
2bec6ce
100644
(file)
--- a/
source/widgets/CMakeLists.txt
+++ b/
source/widgets/CMakeLists.txt
@@
-8,4
+8,7
@@
set(FILE_LIST XABAccountView.cpp
XABPriorityCtrl.h)
add_library(${TARGET_NAME}
XABPriorityCtrl.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy