[CMake] How to set MS Visual Studio Project Properties

Craig Davis davisc3 at auburn.edu
Tue Jun 14 11:23:47 EDT 2005


Hello all,

I was wondering if anyone knows if it is possible to set any of the
following project properties using CMake rather than having to manually
set them after the project is built:

Tab        Category          Field                                      
Value
----------------------------------------------------------------------------------------------
C/C++   Preprocessor     Preprocessor definitions          
MATLAB_MEX_FILE
C/C++   Preprocessor     Additional include directories    C:\MATLAB701
                                                                        
               \extern\include
Link       Input               Object/library modules            
libmex.lib libmx.lib
Link       Input               Additional Library Path            
C:\MATLAB701
                                                                        
             \extern\lib\win32
                                                                        
             \microsft\msvc60
Link      (any)                Project Options                   
/EXPORT:mexFunction

Thanks,

Craig Davis
840 Twin Forks Avenue
Auburn, AL 36830
phone: 334-524-7672
email: davisc3 at auburn.edu


More information about the CMake mailing list