[CMake] library

2008-02-27 Thread Harsha
In VS you can ignore a specific library: Project -> Properties -> Linker -> Input -> Ignore Specific Libraries for a lib target add your own dependencies with directory: Project -> Properties -> Librarian -> Additional Dependencies Project -> Properties -> Librarian -> Additional Library Director

[CMake] including lib

2008-02-26 Thread Harsha Sri-Narayana
link_libraries(mytarget ${glut}) I get: "CMake Error: This project requires some variables to be set and cmake can not find them. Please set glut." Any help would be greatly appreciated, -Harsha ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] preprocessor def

2008-02-15 Thread Harsha Sri-Narayana
Thanks everyone. Both of these work. 1) ADD_DEFINITIONS(-DUSE_GLEW) 2) SET_TARGET_PROPERTIES(rtf PROPERTIES LINKER_LANGUAGE CXX COMPILE_FLAGS "-DUSE_GLEW" ) -Harsha Alan W. Irwin wrote: On 2008-02-15 21:31-0000 Harsha Sri-Narayana wrote: I have this code in a cpp file #ifde

[CMake] preprocessor def

2008-02-15 Thread Harsha Sri-Narayana
solution could be found from within the cmakelists.txt file. Any help would be greatly appreciated, and thanks for reading. -Harsha [1] http://www.cmake.org/HTML/Documentation.html ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake