[CMake] Out of Source CMakeLists
Ma O-Nigiri
ma at o-nigiri.me
Tue Jan 20 13:57:44 EST 2015
I'm porting a makefile based project over to CMake and would like to keep
my CMakeLists in a separate set of directories:
Source Tree (i.e. /myproject)
└── src
├──
├── framework
│ └── Utilities
│ └── a.cpp
│ └── a.h
└── tests
└── a_test.cpp
CMakeLists Out of Source Tree (i.e. /myprojectcmakes)
├── cmake
│ ├── FindGMock.cmake
│ ├── FindGTest.cmake
├── CMakeLists.txt
└── src
├── CMakeLists.txt
├── framework
│ └── Utilities
│ └── CMakeLists.txt
└── tests
└── CMakeLists.txt
Is this possible? I tried fiddling with some of the path variables and it
didn't pan out.
Cheers,
Ma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150120/d769053d/attachment.html>
More information about the CMake
mailing list