From: John L. <jla...@gm...> - 2012-06-13 04:19:24
|
On Tue, Jun 12, 2012 at 3:24 PM, klaas.holwerda <ng...@kl...> wrote: > > Busy making wxLua compile on Centos 64but, in general same issues as found with Ubuntu. It should compile without a problem in Centos as I use RHEL6 regularly without any problems. I just built it yesterday. Can you please post some of the errors? > For wxstedit using Cmake, i think you should add this line in its CmakeLists file: > > set (LIBRARY_OUTPUT_PATH ${wxStEdit_BINARY_DIR}/lib ) > > This makes in generate the library in there on windows using Debug/Release as subdir, on Unix in there directly. > Currently it is placed directly in the top dir, while "make install" expects it in the lib directory, which i think is the right one. This sounds good. I currently use a higher level CMakeLists.txt that includes the wxLua and some other projects' CMakeLists.txt to have the binaries put in the same place for convenience so I never see what happens by default. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) Regards, John |