Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Compare the options on two projects?

lklawrie1
Beginner
859 Views
Is there a "simple" way to compare the options on two projects? Used to be (CVF) I would just copy in the "command line" options but I understand (though haven't verified) that that might not work in IVF?
I have a DLL -- it works fine. But I wanted one that I would distribute that didn't hook to a couple of libraries (personal) -- and to keep both projects viable. It's a DLL that gets wrapped inside a com server -- and it got a little tricky. Of course, it was on a deadline.
Any hints on comparing will be appreciated.
Linda
0 Kudos
4 Replies
Steven_L_Intel1
Employee
860 Views
That should work in IVF as well.

You can also compare the .vfproj files, though you may get lots of uninteresting differences.
0 Kudos
lklawrie1
Beginner
860 Views

Well, how about that. You learn something new every day. I didn't realize the vfproj files were text readable. That will probably help!

Thanks, Steve.

Linda

0 Kudos
jim_dempsey
Beginner
860 Views

Assuming you are using Visual Studio and have the SDK then another way to compare the options is to perform a rebuild all with the configuration of your choice. Thenconcatinate the BuildLog.txt files into one big log file. Do the same with the other configuration but save to different name. The perform a WinDiff.

If that is too AWKward then plan-B

Delete all BuildLog.txt files in your project tree.

Run rebuild all

Run GREP with recursive directory and specify file mask as BuildLog.txt and search for IFORT while redirecting to text file. Or look for to get all lines. The redirected output file from grep will contain all the IFORT lines or all the lines of all BuildLog.txt files.

Then do the same for the other project.

It is easier to have the computer condense the information for you than to run through 100's of project files.

Jim Dempsey

0 Kudos
a_leonard
Novice
860 Views
I would like to resurrect this thread in hopes that someone has found a simpler answer since the original post. I have a solution with 40 projects and 8 configurations. I would like to find (as simply as possible) any projects that have different settings and any files that have settings different from the projects to which they belong.

A search for the string "FileConfiguration" in all my *.vfproj files turned up > 1000 hits, but a lot of them don't look like they are actually different from the project. Is there a way to do something in the IDE that can clean up the vfproj file?
0 Kudos
Reply