build: merge Coati app and Trial to single executable
* removed trial target * updated deploy scripts to exclude trial * cleanup CMakeLists * removed Eigen dependencies * split parser lib into lib_cxx and lib_java * added ProjectFactory and ProjectFactoryModules * removed old installer projects * updated wix installer * updated readme for wix setup * updated to use obfuscated exe * added qt.conf * added indexing dialog images * added jars * added coatidb files of sample projects * added source code of javaparser sample * removed auto-refresh image * intermediate files of windows installer are created in build folder * preselected desktop shortcut * build bat is executed from deploy_windows script
This commit is contained in:
@@ -17,31 +17,23 @@ execute_process(
|
||||
#execute_process(
|
||||
#COMMAND ${upxPath}/Coati -f -d ${upxPath}/../data/projects/javaparser/javaparser.coatiproject
|
||||
#)
|
||||
#SET (NO_UPX 1)
|
||||
|
||||
set(bla 0)
|
||||
|
||||
if (bla)
|
||||
if (NO_UPX)
|
||||
execute_process(
|
||||
COMMAND echo "fdsafsdf"
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND rm ${upxPath}/Coati_upx
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati ${upxPath}/Coati_upx
|
||||
)
|
||||
else()
|
||||
message(STATUS "upx the app")
|
||||
execute_process(
|
||||
COMMAND rm ${upxPath}/Coati_upx
|
||||
COMMAND upx --brute ${upxPath}/Coati -o ${upxPath}/Coati_upx
|
||||
)
|
||||
|
||||
message(STATUS "upx the trial")
|
||||
execute_process(
|
||||
COMMAND rm ${upxPath}/Coati_trial_upx
|
||||
COMMAND upx --brute ${upxPath}/Coati_trial -o ${upxPath}/Coati_trial_upx
|
||||
)
|
||||
|
||||
else()
|
||||
execute_process(
|
||||
COMMAND rm ${upxPath}/Coati_trial_upx
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati_trial ${upxPath}/Coati_trial_upx
|
||||
COMMAND rm ${upxPath}/Coati_upx
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${upxPath}/Coati ${upxPath}/Coati_upx
|
||||
)
|
||||
|
||||
endif()
|
||||
#add_custom_command(
|
||||
#OUTPUT Coati_upx
|
||||
|
||||
Reference in New Issue
Block a user