Thanks. VERBATIM was the problem. After, removing it, the code works
perfectly. Thanks!
Anyway, I am a little bit puzzled with documentation, as it states:
> In the future VERBATIM may be enabled by default. The only reason
> it is an option is to preserve compatibility with older CMake code.
> [...] if you instead set the OUTPUT_NAME property of the target
> using set_target_properties, I believe you will get the result
> you want.
I guess, that would be the option if I would need just one
executable. But I need ten executables - each one of different name.
Simlinks, etc. are not an
> Use the WIN32 option of the add_executable command:
> http://www.cmake.org/HTML/cmake-2.6.html#command:add_executable
Thanks. For any other interested people:
- this switches using of main to WinMain
- to switch it back, you can use
set_target_properties (autoconsole
PROPE
Good morning,
thanks for all your comments. Here are the results:
- it seems to me that cmake is building console applications by default
(/SUBSYSTEM:CONSOLE).
That is correct for my .com applications. For the .exe, I will need
WINDOWS subsystem. Any possiblities in cmake?
- for the suffix,
Dear cmakers,
I really need to set executable extension to .com instead to standard
.exe (using MSVC). Is it possible to do that, or do I need to not use
cmake for win32 platform?
Reasons:
I planned to port InventorTools utilities
(http://merlin.fit.vutbr.cz/wiki/index.php/Open_Inventor_Tool