Hi,

I want to compile a file when parsing the CMakeLists.txt...

I tried the following:
TRY_COMPILE(
    PROJ_OK
    ${PROJECT_SOURCE_DIR}/bin
    ${PROJECT_SOURCE_DIR}/externals/proj
    proj
)


But this is returning "false"... What could I have done wrong?

It is doing something, but I don't know what exactly... But it's definitly
waiting a while (probably compiling)...
If I do a cmake . in externals/proj, it generates a MSVC project and I can
build it no problem.


Can someone guide me in this command?


Thanks
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to