Hi all! On 18.03.2008 22:59, Taufik Hidayat wrote:
> I changed in file OWCreateProjectBinary.cmake script: > > add_executable(${PROJECT_NAME} ${ARGN} ${${PROJECT_NAME}_SRCS}) > > To > > add_executable(${PROJECT_NAME} WIN32 ${ARGN} ${${PROJECT_NAME}_SRCS}) > > that is going to change project WengoPhone to the /SUBSYSTEM:WINDOWS > > Not only that, after build all files boost change to the release version. > > OK Tarrisse, this is solution what I am looking for. Thanks. I checked the Code in OWCreateProjectBinary.cmake and tried to backtrace what is going on in there... Although I am not perfectly familiar with the CMake buildsystem I think this change will not work platform independently. Vadim, what do you think? My quick and dirty hack looks more like this (and worked for me): diff -r aedc121c37d3 wengophone/src/presentation/qt/CMakeLists.txt --- a/wengophone/src/presentation/qt/CMakeLists.txt Fri Apr 04 15:28:03 2008 +0200 +++ b/wengophone/src/presentation/qt/CMakeLists.txt Mon Apr 07 11:30:38 2008 +0200 @@ -504,7 +504,11 @@ ) endif (LINUX) -ow_create_project_binary(MACOSX_BUNDLE) +if (WIN32) + ow_create_project_binary(WIN32) +else (WIN32) + ow_create_project_binary(MACOSX_BUNDLE) +endif (WIN32) ow_locale_release( ${CMAKE_CURRENT_SOURCE_DIR}/lang As one can see the original line had "MACOSX_BUNDLE" as parameter for ow_create_project_binary; I just seperated WIN32 as I do not know what would happen to the LINUX-platform although "MACOSX_BUNDLE" seems inappropriate... Any thoughts? Nevertheless: Thanks Tarrisse for pointing us to the right direction! Greetings, - Darsha _______________________________________________ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel