[CMake] pg compilers on the Cary XT4

John R. Cary cary at txcorp.com
Thu Aug 20 10:37:54 EDT 2009


which is basically Linux.

Building a project with pgcc/pgCC.


All flags are empty:

 CMAKE_CXX_COMPILER               
/opt/pgi/8.0.4/linux86-64/8.0-4/bin/pgCC    
 CMAKE_CXX_FLAGS                                                               

 CMAKE_CXX_FLAGS_DEBUG                                                         

 CMAKE_CXX_FLAGS_MINSIZEREL                                                    

 CMAKE_CXX_FLAGS_RELEASE                                                       

 CMAKE_CXX_FLAGS_RELWITHDEBINFO 

Where should I add these?


Another question: The default builds seem to be DEBUG,
MINSIZEREL, RELEASE, RELWITHDEBINFO.  Suppose I wanted
to define a new kind of build, e.g., PERFORMANCE.
How can I go about doing this?

Thanks....John Cary




-- 
Tech-X Corp., 5621 Arapahoe Ave, Suite A, Boulder CO 80303
cary at txcorp.com, p 303-448-0727, f 303-448-7756, NEW CELL 303-881-8572



More information about the CMake mailing list