Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
file comparison. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 3051 ravi.ra...@xoriant.

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
cmake build was having this object file naming with extension .cpp.obj. That was the reason for looking into this issue. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn:

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
main.cpp and also main.res for main.rc Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 3051 rav

Re: [CMake] Need to know the ASM flag that needs to be modified in cmake

2014-08-27 Thread Ravi Raman
somehow we need to find a way to stuff “/D _WIN64” in the compile options of ml64.exe Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 V

[CMake] Need to know the ASM flag that needs to be modified in cmake

2014-08-25 Thread Ravi Raman
e above step 3, ml64.exe execution creates the output object file Testx64.obj, but in this there is no pre-processor switch /D _WIN64 Is there a way in cmake to manipulate any ASM related cmake flag, so that the above ml64.exe execution has /D _WIN64 option set ? Thanks & Regards Ravi Raman Xo

Re: [CMake] File concatenation in cmake add_custom_command()

2014-08-25 Thread Ravi Raman
Thanks for the reply. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 3051 ravi.ra...@xoriant

[CMake] Regarding enviroment variables directly used in executables

2014-08-14 Thread Ravi Raman
basically the call to SET(ENV{TARGET2_EXE_PATH} "C:/Test/Target2") has no impact on the call to getenv() in the source code. Kindly let us know if there is any other way in this case other than setting the TARGET2_EXE_PATH environment variable from Windows directly ? Thanks &

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-08-11 Thread Ravi Raman
re is any way other than batch file for this ? Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 305

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-08-07 Thread Ravi Raman
ses MIDL command, otherwise it will be empty. The batch file logic is to create the file testmidl.rsp to contain the contents present in MIDLCOMMAND argument. We have tested this and it works fine. Just wanted to know, if there is a better approach or anything specific for MIDL in cmake? Thanks

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-08-01 Thread Ravi Raman
Hi David, Thanks. The 2nd approach of using batch file worked successfully. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-08-01 Thread Ravi Raman
mands ${TBIN}/VerCheck.exe and copy successfully from the DOS command line. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-31 Thread Ravi Raman
Hi David, Thanks for the reply. Understood. Will use the cmake function add_custom_command() with POST_BUILD option in case of after build and PRE_BUILD option in case of before build. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-31 Thread Ravi Raman
logic of whatever steps are executed within the blocks in .targets file into the corresponding cmake statements in CMakeLists.txt file of module "module1". So, is there any mechanism that cmake provides for doing that ? Are there any examples of such work being done in the past, which w

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-30 Thread Ravi Raman
Hi David, Can you refer to the query in the mails below (2 points are mentioned). Please let us know your comments when you get time. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +9

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-30 Thread Ravi Raman
Hi David, Note that the targets file name is target1.targets. So, please read it as Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/9

Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-30 Thread Ravi Raman
rget_2.vcxproj created for module "module1". Please confirm if this is the expected behavior in cmake. Thanks & Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn

[CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-07-29 Thread Ravi Raman
Hi all, We have reported an issue. It is regarding conversion of existing Visual Studio .targets files to cmake. The link for the reported issues is as follows. http://www.cmake.org/Bug/view.php?id=15044 Kindly let us know if this can be done in cmake. Thanks & Regards Ravi Raman Xor