On 18.02.2019 17:10, Rony G. Flatscher wrote: > A remark: forgot to delete the lines: > cl : Command line warning D9002 : ignoring unknown option '-g' > > Those warnings were issued, because I used "cmake -G ...", removing the "-G" > (from a very, very, > very old note) removed the warning in my second runs. So please ignore them > in my previous > posting, there are not there anymore. > Rechecking. CMake: the "-G" switch is necessary. Doing a fresh run after removing the previous win32 directory does not show the above warnings anymore:
G:\oorexx.tmp\enrico\win32>cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DOOREXX_INSTALL_PREFIX=%OOREXX_HOME_32% ..\rxSnippets -- The C compiler identification is MSVC 19.0.24215.1 -- The CXX compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- Check for working C compiler: E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- Check for working CXX compiler: E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- -- configuration summary for project 'rxSnippets' -- -- version string .................. : 1.0.0 -- build ........................... : 0 -- revision ........................ : Final -- RCS ............................. : - -- -- requires libraries .............. : rexx;rexxapi -- found ......................... : rexx - -- : rexxapi - -- -- build type ...................... : RELEASE -- word size ....................... : 32 -- platform ........................ : LITTLE ENDIAN -- install prefix .................. : C:/Program Files (x86)/dummy -- -- CMake version ................... : 3.12.0-rc3 -- CMake modules path .............. : G:/oorexx.tmp/enrico/rxSnippets -- : G:/oorexx.tmp/enrico/rxSnippets/cmake/Modules -- -- -- generator ....................... : NMake Makefiles -- generator program ............... : nmake - -- -- enabled languages ............... : C;CXX;RC -- -- C compiler .................... : E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- C compiler ID ................. : MSVC -- C compiler VERSION ............ : 19.0.24215.1 -- C compiler flags .............. : -O2 -DNDEBUG -- -- CXX compiler .................... : E:/Programme/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- CXX compiler ID ................. : MSVC -- CXX compiler VERSION ............ : 19.0.24215.1 -- CXX compiler flags .............. : -O2 -DNDEBUG -- -- RC compiler .................... : C:/Program Files (x86)/Windows Kits/8.1/bin/x86/rc.exe -- RC compiler ID ................. : -- RC compiler VERSION ............ : -- RC compiler flags .............. : -- -- compile definitions ............. : VERSION_STRING="1.0.0" -- -- include directories ............. : G:/oorexx.tmp/enrico/win32 -- : e:/DropBox/Dropbox/xfer/orx/beta/sandbox_ooRexx/standalone/ooRexx32win/include -- : G:/oorexx.tmp/enrico/rxSnippets/src/include -- -- user options .................... : -- -- end of configuration summary -- -- Configuring done -- Generating done -- Build files have been written to: G:/oorexx.tmp/enrico/win32 G:\oorexx.tmp\enrico\win32>nmake Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. Scanning dependencies of target rxClassic [ 25%] Building C object CMakeFiles/rxClassic.dir/src/rxClassic.c.obj cl : Command line warning D9002 : ignoring unknown option '-g' rxClassic.c [ 50%] Linking C shared library rxClassic.dll [ 50%] Built target rxClassic Scanning dependencies of target rxNative [ 75%] Building CXX object CMakeFiles/rxNative.dir/src/rxNative.cpp.obj cl : Command line warning D9002 : ignoring unknown option '-g' rxNative.cpp [100%] Linking CXX shared library rxNative.dll Creating library rxNative.lib and object rxNative.exp [100%] Built target rxNative G:\oorexx.tmp\enrico\win32> G:\oorexx.tmp\enrico\win32>rexx rxClassic.rex 12 *-* call rxClassicLoadFunctions Error 43 running G:\oorexx.tmp\enrico\win32\rxClassic.rex line 12: Routine not found. Error 43.1: Could not find routine "RXCLASSICLOADFUNCTIONS". G:\oorexx.tmp\enrico\win32>rexx rxNative.rex rxNativeVersion at line 35' '1.0.0' 1.0.0 rxNativeWorker at line 48' Argc 0 rxNativeWorker at line 48' Argc 1 Argv 1 'A' rxNativeWorker at line 48' Argc 2 Argv 1 'A' Argv 2 'B' G:\oorexx.tmp\enrico\win32> Not sure where these warnings came from in my first attempts. ---rony
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel