, Jul 10, 2017 at 3:22 PM, Micha Hergarden
wrote:
> On 07-07-17 05:14, Sean Wayland wrote:
>> Hi Micha,
>> Thanks very much for the email. That seemed to make a small
>> difference! With both those lines commented out these errors are
>> generated ( below my email )
^
^
22 warnings and 12 errors generated.
make[3]: ***
[catsmat/catsmat/cmake/CMakeFiles/catsmat.dir/__/Application/CATSMAT_main.cpp.o]
Error 1
make[2]: *** [catsmat/catsmat/cmake/CMakeFiles/catsmat.dir/all] Error 2
make[1]: *** [catsmat/catsma
ANT_Tests/cmake)
add_subdirectory (catsmat/catsmat/cmake)
set(CMAKE_CXX_STANDARD 14)
On Thu, Jul 6, 2017 at 2:48 AM, Micha Hergarden
wrote:
> On 05-07-17 22:50, Sean Wayland wrote:
>> I am attempting to write a cmakelists.txt file for an application.
>> The application has a couple of dependencies
# install setup
if(NOT APPLE)
install ( TARGETS ${target} ${TOOLS}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
FRAMEWORK DESTINATION "/Library/Frameworks" CONFIGURATIONS Release
PUBLIC_HEADER DESTINATION include/libmusicxml
)
endif(NOT AP
${SSTRVERS}
)
###
# install setup
if(NOT APPLE)
install ( TARGETS ${target} ${TOOLS}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
FRAMEWORK DESTINATION "/Library/Frameworks" CONFIGURATIONS Release
PUBLIC_HEADER DE
onsulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
BRARIES} )
B)
INCLUDE_DIRECTORIES(*usr/local/boost/include/*)
ADD_EXECUTABLE( * anyExecutable myMain.cpp *)
TARGET_LINK_LIBRARIES( *anyExecutable usr/local/boost/lib/ *)
Thanks very much for your help .
Yours Sincerely
Sean Wayland
www.seanwayland.com
--
Powered by www.kitware.com
Please keep messages